diff --git a/library/avi_albservicesconfig.py b/library/avi_albservicesconfig.py index 1792953..8a327be 100644 --- a/library/avi_albservicesconfig.py +++ b/library/avi_albservicesconfig.py @@ -99,6 +99,14 @@ - salesforce,myvmware,systest), enterprise with cloud services edition. - Default value when not specified in API or module is interpreted by Avi Controller as MYVMWARE. type: str + operations_config: + description: + - Operations configuration. + - Field introduced in 22.1.3. + - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services + - edition. + required: true + type: dict polling_interval: description: - Time interval in minutes. @@ -222,6 +230,7 @@ def main(): feature_opt_in_status=dict(type='dict', required=True), ip_reputation_config=dict(type='dict', required=True), mode=dict(type='str',), + operations_config=dict(type='dict', required=True), polling_interval=dict(type='int',), portal_url=dict(type='str', required=True), saas_licensing_config=dict(type='dict', required=True), diff --git a/library/avi_albservicesjob.py b/library/avi_albservicesjob.py index 87d22a2..fcb26f7 100644 --- a/library/avi_albservicesjob.py +++ b/library/avi_albservicesjob.py @@ -81,6 +81,7 @@ - Field introduced in 22.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict pulse_job_id: description: - A unique identifier for this job entry on the pulse portal. @@ -108,7 +109,7 @@ status: description: - The status of the albservicesjob. - - Enum options - UNDETERMINED, PENDING, IN_PROGRESS, COMPLETED, FAILED. + - Enum options - UNDETERMINED, PENDING, IN_PROGRESS, COMPLETED, FAILED, NOT_ENABLED. - Field introduced in 21.1.3. - Allowed in enterprise edition with any value, enterprise with cloud services edition. - Default value when not specified in API or module is interpreted by Avi Controller as PENDING. @@ -188,7 +189,7 @@ def main(): configpb_attributes=dict(type='dict',), end_time=dict(type='dict',), name=dict(type='str', required=True), - params=dict(type='list',), + params=dict(type='list', elements='dict',), pulse_job_id=dict(type='str',), pulse_sync_status=dict(type='bool',), result=dict(type='str',), diff --git a/library/avi_alertsyslogconfig.py b/library/avi_alertsyslogconfig.py index 0f5d6b8..d573f17 100644 --- a/library/avi_alertsyslogconfig.py +++ b/library/avi_alertsyslogconfig.py @@ -71,6 +71,7 @@ - The list of syslog servers. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -139,7 +140,7 @@ def main(): configpb_attributes=dict(type='dict',), description=dict(type='str',), name=dict(type='str', required=True), - syslog_servers=dict(type='list',), + syslog_servers=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_analyticsprofile.py b/library/avi_analyticsprofile.py index 8844976..1a8fb2e 100644 --- a/library/avi_analyticsprofile.py +++ b/library/avi_analyticsprofile.py @@ -322,6 +322,7 @@ - Error connections or responses impacts health score, are included as significant logs, and may be classified as part of a dos attack. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: int exclude_invalid_dns_domain_as_error: description: - Exclude dns queries to domains outside the domains configured in the dns application profile from the list of errors. @@ -395,6 +396,7 @@ - Allowed in enterprise edition with any value, enterprise with cloud services edition. version_added: "2.9" type: list + elements: int exclude_stale_ocsp_responses_as_error: description: - Exclude the stale ocsp certificate status responses from the list of errors. @@ -680,6 +682,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - The name of the analytics profile. @@ -701,12 +704,14 @@ - List of http status code ranges to be excluded from being classified as an error. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict resp_code_block: description: - Block of http response codes to be excluded from being classified as an error. - Enum options - AP_HTTP_RSP_4XX, AP_HTTP_RSP_5XX. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str sensitive_log_profile: description: - Rules applied to the http application log for filtering sensitive information. @@ -875,7 +880,7 @@ def main(): exclude_client_close_before_request_as_error=dict(type='bool',), exclude_dns_policy_drop_as_significant=dict(type='bool',), exclude_gs_down_as_error=dict(type='bool',), - exclude_http_error_codes=dict(type='list',), + exclude_http_error_codes=dict(type='list', elements='int',), exclude_invalid_dns_domain_as_error=dict(type='bool',), exclude_invalid_dns_query_as_error=dict(type='bool',), exclude_issuer_revoked_ocsp_responses_as_error=dict(type='bool',), @@ -885,7 +890,7 @@ def main(): exclude_revoked_ocsp_responses_as_error=dict(type='bool',), exclude_server_dns_error_as_error=dict(type='bool',), exclude_server_tcp_reset_as_error=dict(type='bool',), - exclude_sip_error_codes=dict(type='list',), + exclude_sip_error_codes=dict(type='list', elements='int',), exclude_stale_ocsp_responses_as_error=dict(type='bool',), exclude_syn_retransmit_as_error=dict(type='bool',), exclude_tcp_reset_as_error=dict(type='bool',), @@ -921,11 +926,11 @@ def main(): hs_security_tls13_score=dict(type='float',), hs_security_weak_signature_algo_penalty=dict(type='float',), latency_audit_props=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), ondemand_metrics_idle_timeout=dict(type='int',), - ranges=dict(type='list',), - resp_code_block=dict(type='list',), + ranges=dict(type='list', elements='dict',), + resp_code_block=dict(type='list', elements='str',), sensitive_log_profile=dict(type='dict',), sip_log_depth=dict(type='int',), tenant_ref=dict(type='str',), diff --git a/library/avi_applicationpersistenceprofile.py b/library/avi_applicationpersistenceprofile.py index 59f8a70..00d005f 100644 --- a/library/avi_applicationpersistenceprofile.py +++ b/library/avi_applicationpersistenceprofile.py @@ -97,6 +97,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - A user-friendly name for the persistence profile. @@ -204,7 +205,7 @@ def main(): http_cookie_persistence_profile=dict(type='dict',), ip_persistence_profile=dict(type='dict',), is_federated=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), persistence_type=dict(type='str', required=True), server_hm_down_recovery=dict(type='str',), diff --git a/library/avi_applicationprofile.py b/library/avi_applicationprofile.py index d3319c4..3e33551 100644 --- a/library/avi_applicationprofile.py +++ b/library/avi_applicationprofile.py @@ -110,6 +110,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - The name of the application profile. @@ -283,7 +284,7 @@ def main(): dos_rl_profile=dict(type='dict',), http_profile=dict(type='dict',), l4_ssl_profile=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), preserve_client_ip=dict(type='bool',), preserve_client_port=dict(type='bool',), diff --git a/library/avi_authmappingprofile.py b/library/avi_authmappingprofile.py index 97596d5..7046561 100644 --- a/library/avi_authmappingprofile.py +++ b/library/avi_authmappingprofile.py @@ -69,6 +69,7 @@ - Allowed in enterprise edition with any value, enterprise with cloud services edition. required: true type: list + elements: dict name: description: - Name of the authmappingprofile. @@ -151,7 +152,7 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - mapping_rules=dict(type='list', required=True), + mapping_rules=dict(type='list', elements='dict', required=True), name=dict(type='str', required=True), tenant_ref=dict(type='str',), type=dict(type='str', required=True), diff --git a/library/avi_authprofile.py b/library/avi_authprofile.py index 7cdfe3f..5dc6795 100644 --- a/library/avi_authprofile.py +++ b/library/avi_authprofile.py @@ -84,6 +84,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the auth profile. @@ -211,7 +212,7 @@ def main(): http=dict(type='dict',), jwt_profile_ref=dict(type='str',), ldap=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), oauth_profile=dict(type='dict',), pa_agent_ref=dict(type='str',), diff --git a/library/avi_autoscalelaunchconfig.py b/library/avi_autoscalelaunchconfig.py index 0697799..04000b9 100644 --- a/library/avi_autoscalelaunchconfig.py +++ b/library/avi_autoscalelaunchconfig.py @@ -71,6 +71,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict mesos: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -157,7 +158,7 @@ def main(): configpb_attributes=dict(type='dict',), description=dict(type='str',), image_id=dict(type='str',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), mesos=dict(type='dict',), name=dict(type='str', required=True), openstack=dict(type='dict',), diff --git a/library/avi_availabilityzone.py b/library/avi_availabilityzone.py index 3af273c..c40cbfc 100644 --- a/library/avi_availabilityzone.py +++ b/library/avi_availabilityzone.py @@ -95,6 +95,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. required: true type: list + elements: str extends_documentation_fragment: @@ -149,7 +150,7 @@ def main(): tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), - vcenter_refs=dict(type='list', required=True), + vcenter_refs=dict(type='list', elements='str', required=True), ) argument_specs.update(avi_common_argument_spec()) module = AnsibleModule( diff --git a/library/avi_botipreputationtypemapping.py b/library/avi_botipreputationtypemapping.py index dc8ce7e..a39eaa9 100644 --- a/library/avi_botipreputationtypemapping.py +++ b/library/avi_botipreputationtypemapping.py @@ -54,6 +54,7 @@ - Field introduced in 21.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict name: description: - The name of this mapping. @@ -126,7 +127,7 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - ip_reputation_mappings=dict(type='list',), + ip_reputation_mappings=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_botmapping.py b/library/avi_botmapping.py index acb1858..286d0ad 100644 --- a/library/avi_botmapping.py +++ b/library/avi_botmapping.py @@ -54,6 +54,7 @@ - Field introduced in 21.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict name: description: - The name of this mapping. @@ -126,7 +127,7 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - mapping_rules=dict(type='list',), + mapping_rules=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_certificatemanagementprofile.py b/library/avi_certificatemanagementprofile.py index e0488ee..77a6229 100644 --- a/library/avi_certificatemanagementprofile.py +++ b/library/avi_certificatemanagementprofile.py @@ -63,6 +63,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the pki profile. @@ -81,6 +82,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -143,10 +145,10 @@ def main(): avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), run_script_ref=dict(type='str', required=True), - script_params=dict(type='list',), + script_params=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_cloud.py b/library/avi_cloud.py index 2714fdb..5475e14 100644 --- a/library/avi_cloud.py +++ b/library/avi_cloud.py @@ -88,6 +88,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. version_added: "2.5" type: list + elements: dict dhcp_enabled: description: - Select the ip address management scheme. @@ -117,6 +118,7 @@ - Maximum of 1 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict docker_configuration: description: - Allowed in enterprise edition with any value, enterprise with cloud services edition. @@ -204,6 +206,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict metrics_polling_interval: description: - Cloud metrics collector polling interval in seconds. @@ -383,11 +386,11 @@ def main(): azure_configuration=dict(type='dict',), cloudstack_configuration=dict(type='dict',), configpb_attributes=dict(type='dict',), - custom_tags=dict(type='list',), + custom_tags=dict(type='list', elements='dict',), dhcp_enabled=dict(type='bool',), dns_provider_ref=dict(type='str',), dns_resolution_on_se=dict(type='bool',), - dns_resolvers=dict(type='list',), + dns_resolvers=dict(type='list', elements='dict',), docker_configuration=dict(type='dict',), east_west_dns_provider_ref=dict(type='str',), east_west_ipam_provider_ref=dict(type='str',), @@ -400,7 +403,7 @@ def main(): license_type=dict(type='str',), linuxserver_configuration=dict(type='dict',), maintenance_mode=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), metrics_polling_interval=dict(type='int',), mtu=dict(type='int',), name=dict(type='str', required=True), diff --git a/library/avi_cloudproperties.py b/library/avi_cloudproperties.py index 4fa4f55..355da3e 100644 --- a/library/avi_cloudproperties.py +++ b/library/avi_cloudproperties.py @@ -61,6 +61,7 @@ - CLOUD_RANCHER, CLOUD_OSHIFT_K8S, CLOUD_AZURE, CLOUD_GCP, CLOUD_NSXT. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str configpb_attributes: description: - Protobuf versioning for config pbs. @@ -73,11 +74,13 @@ - Hypervisor properties. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict info: description: - Properties specific to a cloud type. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict url: description: - Avi controller URL of the object. @@ -135,10 +138,10 @@ def main(): avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), cc_props=dict(type='dict',), - cc_vtypes=dict(type='list',), + cc_vtypes=dict(type='list', elements='str',), configpb_attributes=dict(type='dict',), - hyp_props=dict(type='list',), - info=dict(type='list',), + hyp_props=dict(type='list', elements='dict',), + info=dict(type='list', elements='dict',), url=dict(type='str',), uuid=dict(type='str',), ) diff --git a/library/avi_cluster.py b/library/avi_cluster.py index 9b34920..70ba6a3 100644 --- a/library/avi_cluster.py +++ b/library/avi_cluster.py @@ -60,6 +60,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. required: true type: list + elements: dict rejoin_nodes_automatically: description: - Re-join cluster nodes automatically in the event one of the node is reset to factory. @@ -134,7 +135,7 @@ def main(): avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), name=dict(type='str', required=True), - nodes=dict(type='list', required=True), + nodes=dict(type='list', elements='dict', required=True), rejoin_nodes_automatically=dict(type='bool',), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_controllerproperties.py b/library/avi_controllerproperties.py index 62a40e3..ea5bc82 100644 --- a/library/avi_controllerproperties.py +++ b/library/avi_controllerproperties.py @@ -338,6 +338,23 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. - Default value when not specified in API or module is interpreted by Avi Controller as 1440. type: int + gslb_purge_batch_size: + description: + - Batch size for the vs_mgr to perform datastrorecleanup during a gslb purge. + - Allowed values are 50-1200. + - Field introduced in 22.1.3. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + - Default value when not specified in API or module is interpreted by Avi Controller as 1000. + type: int + gslb_purge_sleep_time_ms: + description: + - Sleep time in the vs_mgr during a federatedpurge rpc call. + - Allowed values are 50-100. + - Field introduced in 22.1.3. + - Unit is milliseconds. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + - Default value when not specified in API or module is interpreted by Avi Controller as 50. + type: int max_dead_se_in_grp: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -419,6 +436,16 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. version_added: "2.4" type: str + postgres_vacuum_period: + description: + - Period for which postgres vacuum are executed. + - Allowed values are 30-40320. + - Special values are 0 - deactivated. + - Field introduced in 22.1.3. + - Unit is min. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + - Default value when not specified in API or module is interpreted by Avi Controller as 20160. + type: int process_locked_useraccounts_timeout_period: description: - Period for process locked user accounts job. @@ -581,6 +608,7 @@ - Unit is days. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: int unresponsive_se_reboot: description: - Unit is sec. @@ -850,6 +878,8 @@ def main(): fatal_error_lease_time=dict(type='int',), federated_datastore_cleanup_duration=dict(type='int',), file_object_cleanup_period=dict(type='int',), + gslb_purge_batch_size=dict(type='int',), + gslb_purge_sleep_time_ms=dict(type='int',), max_dead_se_in_grp=dict(type='int',), max_pcap_per_tenant=dict(type='int',), max_se_spawn_interval_delay=dict(type='int',), @@ -861,6 +891,7 @@ def main(): portal_request_burst_limit=dict(type='int',), portal_request_rate_limit=dict(type='int',), portal_token=dict(type='str', no_log=True,), + postgres_vacuum_period=dict(type='int',), process_locked_useraccounts_timeout_period=dict(type='int',), process_pki_profile_timeout_period=dict(type='int',), query_host_fail=dict(type='int',), @@ -882,7 +913,7 @@ def main(): seupgrade_fabric_pool_size=dict(type='int',), seupgrade_segroup_min_dead_timeout=dict(type='int',), shared_ssl_certificates=dict(type='bool',), - ssl_certificate_expiry_warning_days=dict(type='list',), + ssl_certificate_expiry_warning_days=dict(type='list', elements='int',), unresponsive_se_reboot=dict(type='int',), update_dns_entry_retry_limit=dict(type='int',), update_dns_entry_timeout=dict(type='int',), diff --git a/library/avi_customipamdnsprofile.py b/library/avi_customipamdnsprofile.py index 6757d08..3fd71c9 100644 --- a/library/avi_customipamdnsprofile.py +++ b/library/avi_customipamdnsprofile.py @@ -68,6 +68,7 @@ - Field introduced in 17.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict script_uri: description: - Script uri of form controller //ipamdnsscripts/, file-name must have a .py extension and conform to pep8 naming convention. @@ -140,7 +141,7 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), name=dict(type='str', required=True), - script_params=dict(type='list',), + script_params=dict(type='list', elements='dict',), script_uri=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_dnspolicy.py b/library/avi_dnspolicy.py index 6f68ff5..24de79b 100644 --- a/library/avi_dnspolicy.py +++ b/library/avi_dnspolicy.py @@ -81,6 +81,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the dns policy. @@ -94,6 +95,7 @@ - Field introduced in 17.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -162,9 +164,9 @@ def main(): created_by=dict(type='str',), description=dict(type='str',), internal=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), - rule=dict(type='list',), + rule=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_dynamicdnsrecord.py b/library/avi_dynamicdnsrecord.py index bde49a7..09f28c2 100644 --- a/library/avi_dynamicdnsrecord.py +++ b/library/avi_dynamicdnsrecord.py @@ -97,6 +97,7 @@ - Maximum of 4 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict ip_address: description: - Ip address in a record. @@ -104,6 +105,7 @@ - Maximum of 4 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict metadata: description: - Internal metadata for the dns record. @@ -117,6 +119,7 @@ - Maximum of 4 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict name: description: - Dynamicdnsrecord name, needed for a top level uuid protobuf, for display in shell. @@ -130,6 +133,7 @@ - Maximum of 13 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict num_records_in_response: description: - Specifies the number of records returned by the dns service.enter 0 to return all records. @@ -146,6 +150,7 @@ - Maximum of 4 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - Tenant_uuid from dns vs's tenant_uuid. @@ -166,6 +171,7 @@ - Maximum of 4 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict type: description: - Dns record type. @@ -248,17 +254,17 @@ def main(): description=dict(type='str',), dns_vs_uuid=dict(type='str',), fqdn=dict(type='str',), - ip6_address=dict(type='list',), - ip_address=dict(type='list',), + ip6_address=dict(type='list', elements='dict',), + ip_address=dict(type='list', elements='dict',), metadata=dict(type='str',), - mx_records=dict(type='list',), + mx_records=dict(type='list', elements='dict',), name=dict(type='str',), - ns=dict(type='list',), + ns=dict(type='list', elements='dict',), num_records_in_response=dict(type='int',), - service_locators=dict(type='list',), + service_locators=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), ttl=dict(type='int',), - txt_records=dict(type='list',), + txt_records=dict(type='list', elements='dict',), type=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_errorpagebody.py b/library/avi_errorpagebody.py index bb13174..517f091 100644 --- a/library/avi_errorpagebody.py +++ b/library/avi_errorpagebody.py @@ -78,6 +78,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Field introduced in 17.2.4. @@ -150,7 +151,7 @@ def main(): configpb_attributes=dict(type='dict',), error_page_body=dict(type='str', required=True), format=dict(type='str',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_errorpageprofile.py b/library/avi_errorpageprofile.py index af5ea58..8e0766e 100644 --- a/library/avi_errorpageprofile.py +++ b/library/avi_errorpageprofile.py @@ -61,6 +61,7 @@ - Field introduced in 17.2.4. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict markers: description: - List of labels to be used for granular rbac. @@ -68,6 +69,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Field introduced in 17.2.4. @@ -138,8 +140,8 @@ def main(): avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), - error_pages=dict(type='list',), - markers=dict(type='list',), + error_pages=dict(type='list', elements='dict',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_geodb.py b/library/avi_geodb.py index 70cb6d1..4c082a4 100644 --- a/library/avi_geodb.py +++ b/library/avi_geodb.py @@ -60,6 +60,7 @@ - Field introduced in 21.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict is_federated: description: - This field indicates that this object is replicated across gslb federation. @@ -74,6 +75,7 @@ - Field introduced in 21.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict name: description: - Geo database name. @@ -147,9 +149,9 @@ def main(): avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), description=dict(type='str',), - files=dict(type='list',), + files=dict(type='list', elements='dict',), is_federated=dict(type='bool',), - mappings=dict(type='list',), + mappings=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_gslb.py b/library/avi_gslb.py index 4718d9f..dfb8e99 100644 --- a/library/avi_gslb.py +++ b/library/avi_gslb.py @@ -98,6 +98,7 @@ - Gslb service's fqdn must be a match one of these subdomains. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict enable_config_by_members: description: - Allows enable/disable of gslbservice pool groups and pool members from the gslb follower members. @@ -183,6 +184,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. required: true type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -201,6 +203,7 @@ - Field introduced in 17.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict url: description: - Avi controller URL of the object. @@ -441,7 +444,7 @@ def main(): client_ip_addr_group=dict(type='dict',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - dns_configs=dict(type='list',), + dns_configs=dict(type='list', elements='dict',), enable_config_by_members=dict(type='bool',), error_resync_interval=dict(type='int',), is_federated=dict(type='bool',), @@ -451,10 +454,10 @@ def main(): replication_policy=dict(type='dict',), send_interval=dict(type='int',), send_interval_prior_to_maintenance_mode=dict(type='int',), - sites=dict(type='list', required=True), + sites=dict(type='list', elements='dict', required=True), tenant_ref=dict(type='str',), tenant_scoped=dict(type='bool',), - third_party_sites=dict(type='list',), + third_party_sites=dict(type='list', elements='dict',), url=dict(type='str',), uuid=dict(type='str',), view_id=dict(type='int',), diff --git a/library/avi_gslbgeodbprofile.py b/library/avi_gslbgeodbprofile.py index 4746da7..3cc646e 100644 --- a/library/avi_gslbgeodbprofile.py +++ b/library/avi_gslbgeodbprofile.py @@ -70,6 +70,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. required: true type: list + elements: dict is_federated: description: - This field indicates that this object is replicated across gslb federation. @@ -84,6 +85,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - A user-friendly name for the geodb profile. @@ -157,9 +159,9 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - entries=dict(type='list', required=True), + entries=dict(type='list', elements='dict', required=True), is_federated=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_gslbservice.py b/library/avi_gslbservice.py index cb788be..6b78f99 100644 --- a/library/avi_gslbservice.py +++ b/library/avi_gslbservice.py @@ -89,6 +89,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. required: true type: list + elements: str down_response: description: - Response to the client query when the gslb service is down. @@ -109,6 +110,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. required: true type: list + elements: dict health_monitor_refs: description: - Verify vs health by applying one or more health monitors. @@ -117,6 +119,7 @@ - Maximum of 6 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str health_monitor_scope: description: - Health monitor probe can be executed for all the members or it can be executed only for third-party members. @@ -148,6 +151,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict min_members: description: - The minimum number of members to distribute traffic to. @@ -302,15 +306,15 @@ def main(): controller_health_status_enabled=dict(type='bool',), created_by=dict(type='str',), description=dict(type='str',), - domain_names=dict(type='list', required=True), + domain_names=dict(type='list', elements='str', required=True), down_response=dict(type='dict',), enabled=dict(type='bool',), - groups=dict(type='list', required=True), - health_monitor_refs=dict(type='list',), + groups=dict(type='list', elements='dict', required=True), + health_monitor_refs=dict(type='list', elements='str',), health_monitor_scope=dict(type='str',), hm_off=dict(type='bool',), is_federated=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), min_members=dict(type='int',), name=dict(type='str', required=True), num_dns_ip=dict(type='int',), diff --git a/library/avi_hardwaresecuritymodulegroup.py b/library/avi_hardwaresecuritymodulegroup.py index 23e286f..5c7e12b 100644 --- a/library/avi_hardwaresecuritymodulegroup.py +++ b/library/avi_hardwaresecuritymodulegroup.py @@ -68,6 +68,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the hsm group configuration object. @@ -138,7 +139,7 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), hsm=dict(type='dict', required=True), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_healthmonitor.py b/library/avi_healthmonitor.py index 07e819e..5bc33af 100644 --- a/library/avi_healthmonitor.py +++ b/library/avi_healthmonitor.py @@ -162,6 +162,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict monitor_port: description: - Use this port instead of the port defined for the server in the pool. @@ -353,7 +354,7 @@ def main(): is_federated=dict(type='bool',), ldap_monitor=dict(type='dict',), ldaps_monitor=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), monitor_port=dict(type='int',), name=dict(type='str', required=True), pop3_monitor=dict(type='dict',), diff --git a/library/avi_httppolicyset.py b/library/avi_httppolicyset.py index 8b19f50..668b5bb 100644 --- a/library/avi_httppolicyset.py +++ b/library/avi_httppolicyset.py @@ -112,6 +112,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the http policy set. @@ -219,7 +220,7 @@ def main(): http_security_policy=dict(type='dict',), ip_reputation_db_ref=dict(type='str',), is_internal_policy=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_image.py b/library/avi_image.py index cf08e98..d6b0c21 100644 --- a/library/avi_image.py +++ b/library/avi_image.py @@ -54,6 +54,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict controller_info: description: - Controller package details. @@ -92,6 +93,7 @@ - Field introduced in 21.1.3. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict img_state: description: - Status of the image. @@ -238,13 +240,13 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - cloud_info_values=dict(type='list',), + cloud_info_values=dict(type='list', elements='dict',), controller_info=dict(type='dict',), controller_patch_name=dict(type='str',), controller_patch_ref=dict(type='str',), duration=dict(type='int',), end_time=dict(type='str',), - events=dict(type='list',), + events=dict(type='list', elements='dict',), img_state=dict(type='dict',), migrations=dict(type='dict',), name=dict(type='str', required=True), diff --git a/library/avi_ipaddrgroup.py b/library/avi_ipaddrgroup.py index 712f644..f6ac873 100644 --- a/library/avi_ipaddrgroup.py +++ b/library/avi_ipaddrgroup.py @@ -54,6 +54,7 @@ - Configure ip address(es). - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict configpb_attributes: description: - Protobuf versioning for config pbs. @@ -66,6 +67,7 @@ - Populate the ip address ranges from the geo database for this country. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str description: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -75,6 +77,7 @@ - Configure (ip address, port) tuple(s). - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict marathon_app_name: description: - Populate ip addresses from tasks of this marathon app. @@ -94,6 +97,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the ip address group. @@ -105,11 +109,13 @@ - Configure ip address prefix(es). - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict ranges: description: - Configure ip address range(s). - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -184,17 +190,17 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - addrs=dict(type='list',), + addrs=dict(type='list', elements='dict',), configpb_attributes=dict(type='dict',), - country_codes=dict(type='list',), + country_codes=dict(type='list', elements='str',), description=dict(type='str',), - ip_ports=dict(type='list',), + ip_ports=dict(type='list', elements='dict',), marathon_app_name=dict(type='str',), marathon_service_port=dict(type='int',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), - prefixes=dict(type='list',), - ranges=dict(type='list',), + prefixes=dict(type='list', elements='dict',), + ranges=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_ipamdnsproviderprofile.py b/library/avi_ipamdnsproviderprofile.py index b88b846..0a0968d 100644 --- a/library/avi_ipamdnsproviderprofile.py +++ b/library/avi_ipamdnsproviderprofile.py @@ -104,6 +104,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name for the ipam/dns provider profile. @@ -226,7 +227,7 @@ def main(): gcp_profile=dict(type='dict',), infoblox_profile=dict(type='dict',), internal_profile=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), oci_profile=dict(type='dict',), openstack_profile=dict(type='dict',), diff --git a/library/avi_ipreputationdb.py b/library/avi_ipreputationdb.py index b0f11be..b4f966b 100644 --- a/library/avi_ipreputationdb.py +++ b/library/avi_ipreputationdb.py @@ -56,6 +56,7 @@ - Maximum of 1 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str configpb_attributes: description: - Protobuf versioning for config pbs. @@ -76,6 +77,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str markers: description: - List of labels to be used for granular rbac. @@ -83,6 +85,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Ip reputation db name. @@ -176,11 +179,11 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - base_file_refs=dict(type='list',), + base_file_refs=dict(type='list', elements='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - incremental_file_refs=dict(type='list',), - markers=dict(type='list',), + incremental_file_refs=dict(type='list', elements='str',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), service_status=dict(type='dict',), tenant_ref=dict(type='str',), diff --git a/library/avi_l4policyset.py b/library/avi_l4policyset.py index 060c9d2..29584c1 100644 --- a/library/avi_l4policyset.py +++ b/library/avi_l4policyset.py @@ -85,6 +85,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the l4 policy set. @@ -161,7 +162,7 @@ def main(): description=dict(type='str',), is_internal_policy=dict(type='bool',), l4_connection_policy=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_labelgroup.py b/library/avi_labelgroup.py index 82317f4..ac59a9f 100644 --- a/library/avi_labelgroup.py +++ b/library/avi_labelgroup.py @@ -61,6 +61,7 @@ - Field introduced in 20.1.5. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict name: description: - Name of the label group. @@ -127,7 +128,7 @@ def main(): avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), - labels=dict(type='list',), + labels=dict(type='list', elements='dict',), name=dict(type='str', required=True), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_licenseledgerdetails.py b/library/avi_licenseledgerdetails.py index 4c7440b..45df67e 100644 --- a/library/avi_licenseledgerdetails.py +++ b/library/avi_licenseledgerdetails.py @@ -54,18 +54,21 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict se_infos: description: - Maintain information about consumed licenses against se_uuid. - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tier_usages: description: - License usage per tier. - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict url: description: - Avi controller URL of the object. @@ -124,9 +127,9 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - escrow_infos=dict(type='list',), - se_infos=dict(type='list',), - tier_usages=dict(type='list',), + escrow_infos=dict(type='list', elements='dict',), + se_infos=dict(type='list', elements='dict',), + tier_usages=dict(type='list', elements='dict',), url=dict(type='str',), uuid=dict(type='str',), ) diff --git a/library/avi_microservicegroup.py b/library/avi_microservicegroup.py index 92545ea..144a5d7 100644 --- a/library/avi_microservicegroup.py +++ b/library/avi_microservicegroup.py @@ -76,6 +76,7 @@ - It is a reference to an object of type microservice. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str tenant_ref: description: - It is a reference to an object of type tenant. @@ -143,7 +144,7 @@ def main(): created_by=dict(type='str',), description=dict(type='str',), name=dict(type='str', required=True), - service_refs=dict(type='list',), + service_refs=dict(type='list', elements='str',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_natpolicy.py b/library/avi_natpolicy.py index fdaa3b2..1afa29a 100644 --- a/library/avi_natpolicy.py +++ b/library/avi_natpolicy.py @@ -73,6 +73,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the nat policy. @@ -85,6 +86,7 @@ - Field introduced in 18.2.3. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -152,9 +154,9 @@ def main(): configpb_attributes=dict(type='dict',), created_by=dict(type='str',), description=dict(type='str',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str',), - rules=dict(type='list',), + rules=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_network.py b/library/avi_network.py index 744981f..fcc4c6a 100644 --- a/library/avi_network.py +++ b/library/avi_network.py @@ -55,6 +55,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict cloud_ref: description: - It is a reference to an object of type cloud. @@ -71,6 +72,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict dhcp_enabled: description: - Select the ip address management scheme for this network. @@ -98,6 +100,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -185,14 +188,14 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - attrs=dict(type='list',), + attrs=dict(type='list', elements='dict',), cloud_ref=dict(type='str',), configpb_attributes=dict(type='dict',), - configured_subnets=dict(type='list',), + configured_subnets=dict(type='list', elements='dict',), dhcp_enabled=dict(type='bool',), exclude_discovered_subnets=dict(type='bool',), ip6_autocfg_enabled=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), synced_from_se=dict(type='bool',), tenant_ref=dict(type='str',), diff --git a/library/avi_networkprofile.py b/library/avi_networkprofile.py index 78b1a2c..ad39481 100644 --- a/library/avi_networkprofile.py +++ b/library/avi_networkprofile.py @@ -76,6 +76,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - The name of the network profile. @@ -158,7 +159,7 @@ def main(): configpb_attributes=dict(type='dict',), connection_mirror=dict(type='bool',), description=dict(type='str',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), profile=dict(type='dict', required=True), tenant_ref=dict(type='str',), diff --git a/library/avi_networksecuritypolicy.py b/library/avi_networksecuritypolicy.py index b42b93e..9b89d4f 100644 --- a/library/avi_networksecuritypolicy.py +++ b/library/avi_networksecuritypolicy.py @@ -99,6 +99,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -107,6 +108,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -187,9 +189,9 @@ def main(): geo_db_ref=dict(type='str',), internal=dict(type='bool',), ip_reputation_db_ref=dict(type='str',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str',), - rules=dict(type='list',), + rules=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_networkservice.py b/library/avi_networkservice.py index ebe5f27..7195aa2 100644 --- a/library/avi_networkservice.py +++ b/library/avi_networkservice.py @@ -68,6 +68,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the networkservice. @@ -171,7 +172,7 @@ def main(): avi_patch_value=dict(type='str',), cloud_ref=dict(type='str',), configpb_attributes=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), routing_service=dict(type='dict',), se_group_ref=dict(type='str', required=True), diff --git a/library/avi_nsxtsegmentruntime.py b/library/avi_nsxtsegmentruntime.py index d19dc6c..40c14b4 100644 --- a/library/avi_nsxtsegmentruntime.py +++ b/library/avi_nsxtsegmentruntime.py @@ -61,6 +61,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str dhcp_enabled: description: - Ip address management scheme for this segment associated network. @@ -74,6 +75,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str name: description: - Segment object name. @@ -177,6 +179,7 @@ - Field introduced in 20.1.5. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str vrf_context_ref: description: - Corresponding vrf context object in avi. @@ -233,9 +236,9 @@ def main(): avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), cloud_ref=dict(type='str',), - dhcp6_ranges=dict(type='list',), + dhcp6_ranges=dict(type='list', elements='str',), dhcp_enabled=dict(type='bool',), - dhcp_ranges=dict(type='list',), + dhcp_ranges=dict(type='list', elements='str',), name=dict(type='str',), nw_name=dict(type='str',), nw_ref=dict(type='str',), @@ -252,7 +255,7 @@ def main(): tier1_id=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), - vlan_ids=dict(type='list',), + vlan_ids=dict(type='list', elements='str',), vrf_context_ref=dict(type='str',), ) argument_specs.update(avi_common_argument_spec()) diff --git a/library/avi_pingaccessagent.py b/library/avi_pingaccessagent.py index 80f0f16..a87c29d 100644 --- a/library/avi_pingaccessagent.py +++ b/library/avi_pingaccessagent.py @@ -68,6 +68,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the pingaccess agent. @@ -163,7 +164,7 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), pingaccess_pool_ref=dict(type='str', required=True), primary_server=dict(type='dict', required=True), diff --git a/library/avi_pkiprofile.py b/library/avi_pkiprofile.py index e242be5..d5648ec 100644 --- a/library/avi_pkiprofile.py +++ b/library/avi_pkiprofile.py @@ -54,6 +54,7 @@ - List of certificate authorities (root and intermediate) trusted that is used for certificate validation. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict configpb_attributes: description: - Protobuf versioning for config pbs. @@ -77,6 +78,7 @@ - Certificate revocation lists. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict ignore_peer_chain: description: - When enabled, avi will not trust intermediate and root certs presented by a client. @@ -103,6 +105,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the pki profile. @@ -178,14 +181,14 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - ca_certs=dict(type='list',), + ca_certs=dict(type='list', elements='dict',), configpb_attributes=dict(type='dict',), created_by=dict(type='str',), crl_check=dict(type='bool',), - crls=dict(type='list',), + crls=dict(type='list', elements='dict',), ignore_peer_chain=dict(type='bool',), is_federated=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_pool.py b/library/avi_pool.py index 37bb4da..7bb395f 100644 --- a/library/avi_pool.py +++ b/library/avi_pool.py @@ -94,6 +94,7 @@ - Network ids for the launch configuration. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str autoscale_policy_ref: description: - Reference to server autoscale policy. @@ -190,6 +191,7 @@ - It is performed only when common name check host_check_enabled is enabled. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str east_west: description: - Inherited config from virtualservice. @@ -217,6 +219,7 @@ - Field introduced in 17.1.2. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str fail_action: description: - Enable an action - close connection, http redirect or local http response - when a pool failure happens. @@ -258,6 +261,7 @@ - Maximum of 50 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str horizon_profile: description: - Horizon uag configuration. @@ -359,6 +363,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict max_concurrent_connections_per_server: description: - The maximum number of concurrent connections allowed to each server within the pool. @@ -399,12 +404,14 @@ - This field is used internally by avi, not editable by the user. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict nsx_securitygroup: description: - A list of nsx groups where the servers for the pool are created. - Field introduced in 17.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str pki_profile_ref: description: - Avi will validate the ssl certificate present by a server against the selected pki profile. @@ -418,6 +425,7 @@ - Use static routes in vrf configuration when pool servers are not directly connected but routable from the service engine. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict pool_type: description: - Type or purpose, the pool is to be used for. @@ -507,6 +515,7 @@ - Maximum of 5000 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict service_metadata: description: - Metadata pertaining to the service provided by this pool. @@ -583,7 +592,7 @@ description: - Virtual routing context that the pool is bound to. - This is used to provide the isolation of the set of networks the pool is attached to. - - The pool inherits the virtual routing conext of the virtual service, and this field is used only internally, and is set by pb-transform. + - The pool inherits the virtual routing context of the virtual service, and this field is used only internally, and is set by pb-transform. - It is a reference to an object of type vrfcontext. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: str @@ -664,7 +673,7 @@ def main(): append_port=dict(type='str',), application_persistence_profile_ref=dict(type='str',), autoscale_launch_config_ref=dict(type='str',), - autoscale_networks=dict(type='list',), + autoscale_networks=dict(type='list', elements='str',), autoscale_policy_ref=dict(type='str',), capacity_estimation=dict(type='bool',), capacity_estimation_ttfb_thresh=dict(type='int',), @@ -677,16 +686,16 @@ def main(): default_server_port=dict(type='int',), delete_server_on_dns_refresh=dict(type='bool',), description=dict(type='str',), - domain_name=dict(type='list',), + domain_name=dict(type='list', elements='str',), east_west=dict(type='bool',), enable_http2=dict(type='bool',), enabled=dict(type='bool',), - external_autoscale_groups=dict(type='list',), + external_autoscale_groups=dict(type='list', elements='str',), fail_action=dict(type='dict',), fewest_tasks_feedback_delay=dict(type='int',), graceful_disable_timeout=dict(type='int',), gslb_sp_enabled=dict(type='bool',), - health_monitor_refs=dict(type='list',), + health_monitor_refs=dict(type='list', elements='str',), horizon_profile=dict(type='dict',), host_check_enabled=dict(type='bool',), http2_properties=dict(type='dict',), @@ -699,16 +708,16 @@ def main(): lb_algorithm_core_nonaffinity=dict(type='int',), lb_algorithm_hash=dict(type='str',), lookup_server_by_name=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), max_concurrent_connections_per_server=dict(type='int',), max_conn_rate_per_server=dict(type='dict',), min_health_monitors_up=dict(type='int',), min_servers_up=dict(type='int',), name=dict(type='str', required=True), - networks=dict(type='list',), - nsx_securitygroup=dict(type='list',), + networks=dict(type='list', elements='dict',), + nsx_securitygroup=dict(type='list', elements='str',), pki_profile_ref=dict(type='str',), - placement_networks=dict(type='list',), + placement_networks=dict(type='list', elements='dict',), pool_type=dict(type='str',), request_queue_depth=dict(type='int',), request_queue_enabled=dict(type='bool',), @@ -720,7 +729,7 @@ def main(): server_name=dict(type='str',), server_reselect=dict(type='dict',), server_timeout=dict(type='int',), - servers=dict(type='list',), + servers=dict(type='list', elements='dict',), service_metadata=dict(type='str',), sni_enabled=dict(type='bool',), sp_gs_info=dict(type='dict',), diff --git a/library/avi_poolgroup.py b/library/avi_poolgroup.py index 1a700b3..45d6a57 100644 --- a/library/avi_poolgroup.py +++ b/library/avi_poolgroup.py @@ -119,11 +119,13 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict members: description: - List of pool group members object of type poolgroupmember. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict min_servers: description: - The minimum number of servers to distribute traffic to. @@ -227,8 +229,8 @@ def main(): enable_http2=dict(type='bool',), fail_action=dict(type='dict',), implicit_priority_labels=dict(type='bool',), - markers=dict(type='list',), - members=dict(type='list',), + markers=dict(type='list', elements='dict',), + members=dict(type='list', elements='dict',), min_servers=dict(type='int',), name=dict(type='str', required=True), priority_labels_ref=dict(type='str',), diff --git a/library/avi_poolgroupdeploymentpolicy.py b/library/avi_poolgroupdeploymentpolicy.py index 75240c1..cad794e 100644 --- a/library/avi_poolgroupdeploymentpolicy.py +++ b/library/avi_poolgroupdeploymentpolicy.py @@ -80,6 +80,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - The name of the pool group deployment policy. @@ -90,6 +91,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict scheme: description: - Deployment scheme. @@ -187,9 +189,9 @@ def main(): configpb_attributes=dict(type='dict',), description=dict(type='str',), evaluation_duration=dict(type='int',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), - rules=dict(type='list',), + rules=dict(type='list', elements='dict',), scheme=dict(type='str',), target_test_traffic_ratio=dict(type='int',), tenant_ref=dict(type='str',), diff --git a/library/avi_prioritylabels.py b/library/avi_prioritylabels.py index 6afe781..aee6339 100644 --- a/library/avi_prioritylabels.py +++ b/library/avi_prioritylabels.py @@ -70,6 +70,7 @@ - Equivalent priority labels in descending order. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict markers: description: - List of labels to be used for granular rbac. @@ -77,6 +78,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - The name of the priority labels. @@ -148,8 +150,8 @@ def main(): cloud_ref=dict(type='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - equivalent_labels=dict(type='list',), - markers=dict(type='list',), + equivalent_labels=dict(type='list', elements='dict',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_protocolparser.py b/library/avi_protocolparser.py index 96eb6f4..669cb2d 100644 --- a/library/avi_protocolparser.py +++ b/library/avi_protocolparser.py @@ -68,6 +68,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the protocol parser. @@ -149,7 +150,7 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), parser_code=dict(type='str', required=True), tenant_ref=dict(type='str',), diff --git a/library/avi_role.py b/library/avi_role.py index 46ec698..de2d522 100644 --- a/library/avi_role.py +++ b/library/avi_role.py @@ -72,6 +72,7 @@ - Maximum of 4 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict name: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -81,6 +82,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -144,9 +146,9 @@ def main(): avi_patch_value=dict(type='str',), allow_unlabelled_access=dict(type='bool',), configpb_attributes=dict(type='dict',), - filters=dict(type='list',), + filters=dict(type='list', elements='dict',), name=dict(type='str', required=True), - privileges=dict(type='list',), + privileges=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_securitymanagerdata.py b/library/avi_securitymanagerdata.py index ebdbec7..af0b1d8 100644 --- a/library/avi_securitymanagerdata.py +++ b/library/avi_securitymanagerdata.py @@ -54,6 +54,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict name: description: - Virtualservice name. @@ -125,7 +126,7 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - app_learning_info=dict(type='list',), + app_learning_info=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_securitypolicy.py b/library/avi_securitypolicy.py index 1fcef22..0cbf0e8 100644 --- a/library/avi_securitypolicy.py +++ b/library/avi_securitypolicy.py @@ -89,6 +89,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - The name of the security policy. @@ -193,7 +194,7 @@ def main(): dns_amplification_denyports=dict(type='dict',), dns_attacks=dict(type='dict',), dns_policy_index=dict(type='int',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), network_security_policy_index=dict(type='int',), oper_mode=dict(type='str',), diff --git a/library/avi_serverautoscalepolicy.py b/library/avi_serverautoscalepolicy.py index b1a7239..88b6cf8 100644 --- a/library/avi_serverautoscalepolicy.py +++ b/library/avi_serverautoscalepolicy.py @@ -96,6 +96,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict max_scalein_adjustment_step: description: - Maximum number of servers to scale-in simultaneously. @@ -133,6 +134,7 @@ - It is a reference to an object of type alertconfig. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str scalein_cooldown: description: - Cooldown period during which no new scale-in is triggered to allow previous scale-in to successfully complete. @@ -146,6 +148,7 @@ - It is a reference to an object of type alertconfig. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str scaleout_cooldown: description: - Cooldown period during which no new scale-out is triggered to allow previous scale-out to successfully complete. @@ -161,6 +164,7 @@ - Maximum of 1 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -234,17 +238,17 @@ def main(): intelligent_autoscale=dict(type='bool',), intelligent_scalein_margin=dict(type='int',), intelligent_scaleout_margin=dict(type='int',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), max_scalein_adjustment_step=dict(type='int',), max_scaleout_adjustment_step=dict(type='int',), max_size=dict(type='int',), min_size=dict(type='int',), name=dict(type='str', required=True), - scalein_alertconfig_refs=dict(type='list',), + scalein_alertconfig_refs=dict(type='list', elements='str',), scalein_cooldown=dict(type='int',), - scaleout_alertconfig_refs=dict(type='list',), + scaleout_alertconfig_refs=dict(type='list', elements='str',), scaleout_cooldown=dict(type='int',), - scheduled_scalings=dict(type='list',), + scheduled_scalings=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), use_predicted_load=dict(type='bool',), diff --git a/library/avi_serviceengine.py b/library/avi_serviceengine.py index 6e9d473..53eda8e 100644 --- a/library/avi_serviceengine.py +++ b/library/avi_serviceengine.py @@ -81,6 +81,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict enable_state: description: - Inorder to disable se set this field appropriately. @@ -187,7 +188,7 @@ def main(): container_type=dict(type='str',), controller_created=dict(type='bool',), controller_ip=dict(type='str',), - data_vnics=dict(type='list',), + data_vnics=dict(type='list', elements='dict',), enable_state=dict(type='str',), flavor=dict(type='str',), host_ref=dict(type='str',), diff --git a/library/avi_serviceenginegroup.py b/library/avi_serviceenginegroup.py index 38082e3..a4dda1e 100644 --- a/library/avi_serviceenginegroup.py +++ b/library/avi_serviceenginegroup.py @@ -159,6 +159,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. version_added: "2.5" type: list + elements: int auto_rebalance_criteria: description: - Set of criteria for se auto rebalance. @@ -167,6 +168,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. version_added: "2.5" type: list + elements: str auto_rebalance_interval: description: - Frequency of rebalance, if 'auto rebalance' is enabled. @@ -189,6 +191,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str baremetal_dispatcher_handles_flows: description: - Control if dispatcher core also handles tcp flows in baremetal se. @@ -288,18 +291,21 @@ - Field introduced in 17.1.3. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str custom_securitygroups_mgmt: description: - Custom security groups to be associated with management vnic for se instances in openstack and aws clouds. - Field introduced in 17.1.3. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str custom_tag: description: - Custom tag will be used to create the tags for se instance in aws. - Note this is not the same as the prefix for se name. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict data_network_id: description: - Subnet used to spin up the data nic for service engines, used only for azure cloud. @@ -777,12 +783,14 @@ - Maximum of 128 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict kni_allowed_server_ports: description: - Port ranges for any servers running in inband linuxserver clouds. - Field introduced in 21.1.3. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict l7_conns_per_core: description: - Number of l7 connections that can be cached per core. @@ -804,6 +812,7 @@ - Maximum of 1 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict lbaction_num_requests_to_dispatch: description: - Number of requests to dispatch from the request. @@ -976,6 +985,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict max_concurrent_external_hm: description: - Maximum number of external health monitors that can run concurrently in a service engine. @@ -1266,6 +1276,7 @@ - Maximum of 5 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str openstack_mgmt_network_name: description: - Avi management network name. @@ -1340,6 +1351,16 @@ - Default value when not specified in API or module is interpreted by Avi Controller as True. version_added: "2.9" type: bool + replay_vrf_routes_interval: + description: + - Routes in vrf are replayed at the specified interval. + - This should be increased if there are large number of routes. + - Allowed values are 0-3000. + - Field introduced in 22.1.3. + - Unit is milliseconds. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + - Default value when not specified in API or module is interpreted by Avi Controller as 1000. + type: int resync_time_interval: description: - Time interval to re-sync se's time with wall clock time. @@ -1625,11 +1646,9 @@ type: bool se_lro: description: - - Enable or disable large receive optimization for vnics. - - Requires se reboot. + - Enable or disable large receive optimization for vnics.supported on vmxnet3.requires se reboot. - Field introduced in 18.2.5. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. - - Default value when not specified in API or module is interpreted by Avi Controller as True. version_added: "2.9" type: bool se_mp_ring_retry_count: @@ -1929,6 +1948,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. version_added: "2.9" type: list + elements: dict service_ip_subnets: description: - Subnets assigned to the se group. @@ -1937,6 +1957,7 @@ - Maximum of 128 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict shm_minimum_config_memory: description: - Minimum required shared memory to apply any configuration. @@ -2034,6 +2055,14 @@ description: - Avi controller URL of the object. type: str + use_dp_util_for_scaleout: + description: + - If enabled, the datapath cpu utilization is consulted by the auto scale-out logic. + - Field introduced in 22.1.3. + - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services + - edition. + - Default value when not specified in API or module is interpreted by Avi Controller as False. + type: bool use_hyperthreaded_cores: description: - Enables the use of hyper-threaded cores on se. @@ -2098,6 +2127,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict vcenter_datastores_include: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -2125,6 +2155,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict vcpus_per_se: description: - Number of vcpus for each of the service engine virtual machines. @@ -2227,7 +2258,7 @@ - Wait time for sending scaleout ready notification after virtual service is marked up. - In certain deployments, there may be an additional delay to accept traffic. - For example, for bgp, some time is needed for route advertisement. - - Allowed values are 0-20. + - Allowed values are 0-300. - Field introduced in 18.1.5,18.2.1. - Unit is sec. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -2345,11 +2376,11 @@ def main(): async_ssl=dict(type='bool',), async_ssl_threads=dict(type='int',), auto_rebalance=dict(type='bool',), - auto_rebalance_capacity_per_se=dict(type='list',), - auto_rebalance_criteria=dict(type='list',), + auto_rebalance_capacity_per_se=dict(type='list', elements='int',), + auto_rebalance_criteria=dict(type='list', elements='str',), auto_rebalance_interval=dict(type='int',), auto_redistribute_active_standby_load=dict(type='bool',), - availability_zone_refs=dict(type='list',), + availability_zone_refs=dict(type='list', elements='str',), baremetal_dispatcher_handles_flows=dict(type='bool',), bgp_peer_monitor_failover_enabled=dict(type='bool',), bgp_state_update_interval=dict(type='int',), @@ -2363,9 +2394,9 @@ def main(): core_shm_app_learning=dict(type='bool',), cpu_reserve=dict(type='bool',), cpu_socket_affinity=dict(type='bool',), - custom_securitygroups_data=dict(type='list',), - custom_securitygroups_mgmt=dict(type='list',), - custom_tag=dict(type='list',), + custom_securitygroups_data=dict(type='list', elements='str',), + custom_securitygroups_mgmt=dict(type='list', elements='str',), + custom_tag=dict(type='list', elements='dict',), data_network_id=dict(type='str',), datascript_timeout=dict(type='int',), deactivate_ipv6_discovery=dict(type='bool',), @@ -2424,11 +2455,11 @@ def main(): ingress_access_mgmt=dict(type='str',), instance_flavor=dict(type='str',), instance_flavor_info=dict(type='dict',), - iptables=dict(type='list',), - kni_allowed_server_ports=dict(type='list',), + iptables=dict(type='list', elements='dict',), + kni_allowed_server_ports=dict(type='list', elements='dict',), l7_conns_per_core=dict(type='int',), l7_resvd_listen_conns_per_core=dict(type='int',), - labels=dict(type='list',), + labels=dict(type='list', elements='dict',), lbaction_num_requests_to_dispatch=dict(type='int',), lbaction_rq_per_request_max_retries=dict(type='int',), least_load_core_selection=dict(type='bool',), @@ -2451,7 +2482,7 @@ def main(): log_disksz=dict(type='int',), log_malloc_failure=dict(type='bool',), log_message_max_file_list_size=dict(type='int',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), max_concurrent_external_hm=dict(type='int',), max_cpu_usage=dict(type='int',), max_memory_per_mempool=dict(type='int',), @@ -2486,7 +2517,7 @@ def main(): num_flow_cores_sum_changes_to_ignore=dict(type='int',), objsync_config=dict(type='dict',), objsync_port=dict(type='int',), - openstack_availability_zones=dict(type='list',), + openstack_availability_zones=dict(type='list', elements='str',), openstack_mgmt_network_name=dict(type='str',), openstack_mgmt_network_uuid=dict(type='str',), os_reserved_memory=dict(type='int',), @@ -2497,6 +2528,7 @@ def main(): placement_mode=dict(type='str',), realtime_se_metrics=dict(type='dict',), reboot_on_panic=dict(type='bool',), + replay_vrf_routes_interval=dict(type='int',), resync_time_interval=dict(type='int',), sdb_flush_interval=dict(type='int',), sdb_pipeline_size=dict(type='int',), @@ -2564,8 +2596,8 @@ def main(): se_vs_hb_max_vs_in_pkt=dict(type='int',), self_se_election=dict(type='bool',), send_se_ready_timeout=dict(type='int',), - service_ip6_subnets=dict(type='list',), - service_ip_subnets=dict(type='list',), + service_ip6_subnets=dict(type='list', elements='dict',), + service_ip_subnets=dict(type='list', elements='dict',), shm_minimum_config_memory=dict(type='int',), significant_log_throttle=dict(type='int',), ssl_preprocess_sni_hostname=dict(type='bool',), @@ -2578,6 +2610,7 @@ def main(): upstream_read_timeout=dict(type='int',), upstream_send_timeout=dict(type='int',), url=dict(type='str',), + use_dp_util_for_scaleout=dict(type='bool',), use_hyperthreaded_cores=dict(type='bool',), use_legacy_netlink=dict(type='bool',), use_objsync=dict(type='bool',), @@ -2587,12 +2620,12 @@ def main(): uuid=dict(type='str',), vcenter_clusters=dict(type='dict',), vcenter_datastore_mode=dict(type='str',), - vcenter_datastores=dict(type='list',), + vcenter_datastores=dict(type='list', elements='dict',), vcenter_datastores_include=dict(type='bool',), vcenter_folder=dict(type='str',), vcenter_hosts=dict(type='dict',), vcenter_parking_vnic_pg=dict(type='str',), - vcenters=dict(type='list',), + vcenters=dict(type='list', elements='dict',), vcpus_per_se=dict(type='int',), vip_asg=dict(type='dict',), vnic_dhcp_ip_check_interval=dict(type='int',), diff --git a/library/avi_snmptrapprofile.py b/library/avi_snmptrapprofile.py index 6666f7f..60b552b 100644 --- a/library/avi_snmptrapprofile.py +++ b/library/avi_snmptrapprofile.py @@ -71,6 +71,7 @@ - The ip address or hostname of the snmp trap destination server. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict url: description: - Avi controller URL of the object. @@ -131,7 +132,7 @@ def main(): configpb_attributes=dict(type='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), - trap_servers=dict(type='list',), + trap_servers=dict(type='list', elements='dict',), url=dict(type='str',), uuid=dict(type='str',), ) diff --git a/library/avi_sslkeyandcertificate.py b/library/avi_sslkeyandcertificate.py index 585e9ba..3dc508c 100644 --- a/library/avi_sslkeyandcertificate.py +++ b/library/avi_sslkeyandcertificate.py @@ -54,6 +54,7 @@ - Ca certificates in certificate chain. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict certificate: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -88,6 +89,7 @@ - Dynamic parameters needed for certificate management profile. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict enable_ocsp_stapling: description: - Enables ocsp stapling. @@ -164,6 +166,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -194,6 +197,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str ocsp_response_info: description: - Information related to ocsp response. @@ -282,13 +286,13 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - ca_certs=dict(type='list',), + ca_certs=dict(type='list', elements='dict',), certificate=dict(type='dict', required=True), certificate_base64=dict(type='bool',), certificate_management_profile_ref=dict(type='str',), configpb_attributes=dict(type='dict',), created_by=dict(type='str',), - dynamic_params=dict(type='list',), + dynamic_params=dict(type='list', elements='dict',), enable_ocsp_stapling=dict(type='bool',), enckey_base64=dict(type='str',), enckey_name=dict(type='str',), @@ -300,11 +304,11 @@ def main(): key_base64=dict(type='bool',), key_params=dict(type='dict',), key_passphrase=dict(type='str', no_log=True,), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), ocsp_config=dict(type='dict',), ocsp_error_status=dict(type='str',), - ocsp_responder_url_list_from_certs=dict(type='list',), + ocsp_responder_url_list_from_certs=dict(type='list', elements='str',), ocsp_response_info=dict(type='dict',), status=dict(type='str',), tenant_ref=dict(type='str',), diff --git a/library/avi_sslprofile.py b/library/avi_sslprofile.py index 0d4bd2a..f6c5793 100644 --- a/library/avi_sslprofile.py +++ b/library/avi_sslprofile.py @@ -62,6 +62,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. required: true type: list + elements: dict cipher_enums: description: - Enum options - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, @@ -76,6 +77,7 @@ - tls_ecdhe_ecdsa_with_aes_128_gcm_sha256,tls_ecdhe_ecdsa_with_aes_256_gcm_sha384,tls_ecdhe_rsa_with_aes_128_gcm_sha256,tls_ecdhe_rsa_with_aes_256_gcm_sha384,tls_ecdhe_ecdsa_with_aes_128_cbc_sha256,tls_ecdhe_ecdsa_with_aes_256_cbc_sha384,tls_ecdhe_rsa_with_aes_128_cbc_sha256,tls_ecdhe_rsa_with_aes_256_cbc_sha384,tls_rsa_with_aes_128_gcm_sha256,tls_rsa_with_aes_256_gcm_sha384,tls_rsa_with_aes_128_cbc_sha256,tls_rsa_with_aes_256_cbc_sha256,tls_ecdhe_ecdsa_with_aes_128_cbc_sha,tls_ecdhe_ecdsa_with_aes_256_cbc_sha,tls_ecdhe_rsa_with_aes_128_cbc_sha,tls_ecdhe_rsa_with_aes_256_cbc_sha,tls_rsa_with_aes_128_cbc_sha,tls_rsa_with_aes_256_cbc_sha,tls_rsa_with_3des_ede_cbc_sha), - enterprise with cloud services edition. type: list + elements: str ciphersuites: description: - Tls 1.3 ciphers suites represented as defined by u(https //www.openssl.org/docs/man1.1.1/man1/ciphers.html). @@ -139,6 +141,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -179,6 +182,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -285,8 +289,8 @@ def main(): avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), accepted_ciphers=dict(type='str',), - accepted_versions=dict(type='list', required=True), - cipher_enums=dict(type='list',), + accepted_versions=dict(type='list', elements='dict', required=True), + cipher_enums=dict(type='list', elements='str',), ciphersuites=dict(type='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), @@ -295,14 +299,14 @@ def main(): enable_early_data=dict(type='bool',), enable_ssl_session_reuse=dict(type='bool',), is_federated=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), prefer_client_cipher_ordering=dict(type='bool',), send_close_notify=dict(type='bool',), signature_algorithm=dict(type='str',), ssl_rating=dict(type='dict',), ssl_session_timeout=dict(type='int',), - tags=dict(type='list',), + tags=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), type=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_ssopolicy.py b/library/avi_ssopolicy.py index 715dedc..241a374 100644 --- a/library/avi_ssopolicy.py +++ b/library/avi_ssopolicy.py @@ -74,6 +74,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the sso policy. @@ -157,7 +158,7 @@ def main(): authentication_policy=dict(type='dict',), authorization_policy=dict(type='dict',), configpb_attributes=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), type=dict(type='str',), diff --git a/library/avi_statediffoperation.py b/library/avi_statediffoperation.py index 5da0af2..6c80a41 100644 --- a/library/avi_statediffoperation.py +++ b/library/avi_statediffoperation.py @@ -54,6 +54,7 @@ - Field introduced in 21.1.3. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict name: description: - Name of statediff operation. @@ -152,7 +153,7 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - events=dict(type='list',), + events=dict(type='list', elements='dict',), name=dict(type='str',), node_uuid=dict(type='str',), operation=dict(type='str',), diff --git a/library/avi_stringgroup.py b/library/avi_stringgroup.py index 2be6b9f..49c3787 100644 --- a/library/avi_stringgroup.py +++ b/library/avi_stringgroup.py @@ -65,6 +65,7 @@ - Configure key value in the string group. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict longest_match: description: - Enable the longest match, default is the shortest match. @@ -79,6 +80,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name of the string group. @@ -168,9 +170,9 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - kv=dict(type='list',), + kv=dict(type='list', elements='dict',), longest_match=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), type=dict(type='str', required=True), diff --git a/library/avi_systemconfiguration.py b/library/avi_systemconfiguration.py index 06a4232..dda3165 100644 --- a/library/avi_systemconfiguration.py +++ b/library/avi_systemconfiguration.py @@ -96,6 +96,7 @@ - It is a reference to an object of type virtualservice. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str docker_mode: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -176,12 +177,14 @@ - If this is not specified, all the default ciphers are allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str ssh_hmacs: description: - Allowed hmac list for ssh to the management interface on the controller and service engines. - If this is not specified, all the default hmacs are allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str url: description: - Avi controller URL of the object. @@ -267,7 +270,7 @@ def main(): controller_analytics_policy=dict(type='dict',), default_license_tier=dict(type='str',), dns_configuration=dict(type='dict',), - dns_virtualservice_refs=dict(type='list',), + dns_virtualservice_refs=dict(type='list', elements='str',), docker_mode=dict(type='bool',), email_configuration=dict(type='dict',), enable_cors=dict(type='bool',), @@ -282,8 +285,8 @@ def main(): proxy_configuration=dict(type='dict',), secure_channel_configuration=dict(type='dict',), snmp_configuration=dict(type='dict',), - ssh_ciphers=dict(type='list',), - ssh_hmacs=dict(type='list',), + ssh_ciphers=dict(type='list', elements='str',), + ssh_hmacs=dict(type='list', elements='str',), url=dict(type='str',), uuid=dict(type='str',), welcome_workflow_complete=dict(type='bool',), diff --git a/library/avi_systemlimits.py b/library/avi_systemlimits.py index 8b0980d..5ca7db7 100644 --- a/library/avi_systemlimits.py +++ b/library/avi_systemlimits.py @@ -67,6 +67,7 @@ - Field introduced in 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict serviceengine_limits: description: - System limits that apply to a serviceengine. @@ -133,7 +134,7 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), controller_limits=dict(type='dict',), - controller_sizes=dict(type='list',), + controller_sizes=dict(type='list', elements='dict',), serviceengine_limits=dict(type='dict',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_tenant.py b/library/avi_tenant.py index 35acaaa..061e9aa 100644 --- a/library/avi_tenant.py +++ b/library/avi_tenant.py @@ -49,6 +49,13 @@ description: - Patch value to use when using avi_api_update_method as patch. type: str + attrs: + description: + - Key/value tenant attributes. + - Field introduced in 23.1.1. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + type: list + elements: dict config_settings: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -85,6 +92,7 @@ - Field introduced in 20.1.5. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str local: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -156,12 +164,13 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), + attrs=dict(type='list', elements='dict',), config_settings=dict(type='dict',), configpb_attributes=dict(type='dict',), created_by=dict(type='str',), description=dict(type='str',), enforce_label_group=dict(type='bool',), - label_group_refs=dict(type='list',), + label_group_refs=dict(type='list', elements='str',), local=dict(type='bool',), name=dict(type='str', required=True), url=dict(type='str',), diff --git a/library/avi_tenantsystemconfiguration.py b/library/avi_tenantsystemconfiguration.py new file mode 100644 index 0000000..4cd7c75 --- /dev/null +++ b/library/avi_tenantsystemconfiguration.py @@ -0,0 +1,157 @@ +#!/usr/bin/python +# module_check: supported + +# Copyright 2021 VMware, Inc. All rights reserved. VMware Confidential +# SPDX-License-Identifier: Apache License 2.0 + + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: avi_tenantsystemconfiguration +author: Gaurav Rastogi (@grastogi23) +short_description: Module for setup of TenantSystemConfiguration Avi RESTful Object +description: + - This module is used to configure TenantSystemConfiguration object + - more examples at U(https://github.com/avinetworks/devops) +requirements: [ avisdk ] +version_added: "2.7" +options: + state: + description: + - The state that should be applied on the entity. + default: present + choices: ["absent", "present"] + type: str + avi_api_update_method: + description: + - Default method for object update is HTTP PUT. + - Setting to patch will override that behavior to use HTTP PATCH. + version_added: "2.5" + default: put + choices: ["put", "patch"] + type: str + avi_api_patch_op: + description: + - Patch operation to use when using avi_api_update_method as patch. + version_added: "2.5" + choices: ["add", "replace", "delete", "remove"] + type: str + avi_patch_path: + description: + - Patch path to use when using avi_api_update_method as patch. + type: str + avi_patch_value: + description: + - Patch value to use when using avi_api_update_method as patch. + type: str + configpb_attributes: + description: + - Protobuf versioning for config pbs. + - Field introduced in 23.1.1. + - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services + - edition. + type: dict + dns_virtualservice_refs: + description: + - Dns virtual services hosting fqdn records for applications configured within this tenant. + - It is a reference to an object of type virtualservice. + - Field introduced in 23.1.1. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + type: list + elements: str + name: + description: + - Name of the tenant system configuration object. + - Field introduced in 23.1.1. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + required: true + type: str + tenant_ref: + description: + - Unique identifier of the tenant that this object belongs to. + - It is a reference to an object of type tenant. + - Field introduced in 23.1.1. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + type: str + url: + description: + - Avi controller URL of the object. + type: str + uuid: + description: + - Tenant system configuration uuid. + - Field introduced in 23.1.1. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + type: str + + +extends_documentation_fragment: + - avi +''' + +EXAMPLES = """ +- hosts: all + vars: + avi_credentials: + username: "admin" + password: "something" + controller: "192.168.15.18" + api_version: "21.1.1" + +- name: Example to create TenantSystemConfiguration object + avi_tenantsystemconfiguration: + avi_credentials: "{{ avi_credentials }}" + state: present + name: sample_tenantsystemconfiguration +""" + +RETURN = ''' +obj: + description: TenantSystemConfiguration (api/tenantsystemconfiguration) object + returned: success, changed + type: dict +''' + +from ansible.module_utils.basic import AnsibleModule +try: + from avi.sdk.utils.ansible_utils import avi_common_argument_spec + from avi.sdk.utils.ansible_utils import ( + avi_ansible_api, avi_common_argument_spec) + HAS_AVI = True +except ImportError: + HAS_AVI = False + + +def main(): + argument_specs = dict( + state=dict(default='present', + choices=['absent', 'present']), + avi_api_update_method=dict(default='put', + choices=['put', 'patch']), + avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), + avi_patch_path=dict(type='str',), + avi_patch_value=dict(type='str',), + configpb_attributes=dict(type='dict',), + dns_virtualservice_refs=dict(type='list', elements='str',), + name=dict(type='str', required=True), + tenant_ref=dict(type='str',), + url=dict(type='str',), + uuid=dict(type='str',), + ) + argument_specs.update(avi_common_argument_spec()) + module = AnsibleModule( + argument_spec=argument_specs, supports_check_mode=True) + if not HAS_AVI: + return module.fail_json(msg=( + 'Avi python API SDK (avisdk>=17.1) or requests is not installed. ' + 'For more details visit https://github.com/vmware/alb-sdk.')) + return avi_ansible_api(module, 'tenantsystemconfiguration', + set()) + + +if __name__ == '__main__': + main() diff --git a/library/avi_testsedatastorelevel2.py b/library/avi_testsedatastorelevel2.py index e644ecc..0c06bfb 100644 --- a/library/avi_testsedatastorelevel2.py +++ b/library/avi_testsedatastorelevel2.py @@ -72,6 +72,7 @@ - Field introduced in 18.2.6. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str url: description: - Avi controller URL of the object. @@ -131,7 +132,7 @@ def main(): configpb_attributes=dict(type='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), - test_se_datastore_level_3_refs=dict(type='list',), + test_se_datastore_level_3_refs=dict(type='list', elements='str',), url=dict(type='str',), uuid=dict(type='str',), ) diff --git a/library/avi_trafficcloneprofile.py b/library/avi_trafficcloneprofile.py index 2b6b89c..75e0cab 100644 --- a/library/avi_trafficcloneprofile.py +++ b/library/avi_trafficcloneprofile.py @@ -54,6 +54,7 @@ - Maximum of 10 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict cloud_ref: description: - It is a reference to an object of type cloud. @@ -74,6 +75,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name for the traffic clone profile. @@ -152,10 +154,10 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - clone_servers=dict(type='list',), + clone_servers=dict(type='list', elements='dict',), cloud_ref=dict(type='str',), configpb_attributes=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), preserve_client_ip=dict(type='bool',), tenant_ref=dict(type='str',), diff --git a/library/avi_update_se_data_vnics.py b/library/avi_update_se_data_vnics.py index b94feee..70e5624 100644 --- a/library/avi_update_se_data_vnics.py +++ b/library/avi_update_se_data_vnics.py @@ -32,6 +32,7 @@ For more details you can refer to swagger specs https://{controller_ip}/swagger/ From above link you can find configurable fields under data_vnics property of a service engine. type: list + elements: dict extends_documentation_fragment: @@ -111,7 +112,7 @@ def main(): argument_specs = dict( - data_vnics_config=dict(type='list', ), + data_vnics_config=dict(type='list', elements='dict',), se_name=dict(type='str', required=True), ) argument_specs.update(avi_common_argument_spec()) diff --git a/library/avi_upgradestatusinfo.py b/library/avi_upgradestatusinfo.py index 4f14d7c..bf853f6 100644 --- a/library/avi_upgradestatusinfo.py +++ b/library/avi_upgradestatusinfo.py @@ -110,6 +110,7 @@ - Field introduced in 20.1.4. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict image_path: description: - Image path of current base image. @@ -177,6 +178,7 @@ - Field introduced in 18.2.8, 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict patch_reboot: description: - Flag for patch op with reboot. @@ -225,6 +227,7 @@ - Field introduced in 18.2.8, 20.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict previous_patch_version: description: - Previous patch version applied to this node.example base-image was 18.2.6 with a patch 6p1. @@ -274,6 +277,7 @@ - Field introduced in 18.2.6. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict seg_params: description: - Se_patch may be different from the controller_patch. @@ -332,6 +336,7 @@ - Field introduced in 18.2.6. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict upgrade_ops: description: - Upgrade operations requested. @@ -419,7 +424,7 @@ def main(): end_time=dict(type='str',), enqueue_time=dict(type='str',), fips_mode=dict(type='bool',), - history=dict(type='list',), + history=dict(type='list', elements='dict',), image_path=dict(type='str',), image_ref=dict(type='str',), name=dict(type='str',), @@ -429,21 +434,21 @@ def main(): params=dict(type='dict',), patch_image_path=dict(type='str',), patch_image_ref=dict(type='str',), - patch_list=dict(type='list',), + patch_list=dict(type='list', elements='dict',), patch_reboot=dict(type='bool',), patch_version=dict(type='str',), prev_image_path=dict(type='str',), prev_patch_image_path=dict(type='str',), previous_image_ref=dict(type='str',), previous_patch_image_ref=dict(type='str',), - previous_patch_list=dict(type='list',), + previous_patch_list=dict(type='list', elements='dict',), previous_patch_version=dict(type='str',), previous_version=dict(type='str',), progress=dict(type='int',), reason=dict(type='str',), se_patch_image_path=dict(type='str',), se_patch_image_ref=dict(type='str',), - se_upgrade_events=dict(type='list',), + se_upgrade_events=dict(type='list', elements='dict',), seg_params=dict(type='dict',), seg_status=dict(type='dict',), start_time=dict(type='str',), @@ -452,7 +457,7 @@ def main(): tasks_completed=dict(type='int',), tenant_ref=dict(type='str',), total_tasks=dict(type='int',), - upgrade_events=dict(type='list',), + upgrade_events=dict(type='list', elements='dict',), upgrade_ops=dict(type='str',), upgrade_readiness=dict(type='dict',), url=dict(type='str',), diff --git a/library/avi_user.py b/library/avi_user.py index 39b66db..06835aa 100644 --- a/library/avi_user.py +++ b/library/avi_user.py @@ -50,6 +50,7 @@ description: - Access settings (write, read, or no access) for each type of resource within Vantage. type: list + elements: dict is_superuser: description: - If the user will need to have the same privileges as the admin account, set it to true. @@ -159,7 +160,7 @@ def main(): name=dict(type='str', required=True), obj_username=dict(type='str', required=True), obj_password=dict(type='str', required=True, no_log=True), - access=dict(type='list',), + access=dict(type='list', elements='dict',), email=dict(type='str',), is_superuser=dict(type='bool',), is_active=dict(type='bool',), diff --git a/library/avi_virtualservice.py b/library/avi_virtualservice.py index a95ab11..dbeb0f6 100644 --- a/library/avi_virtualservice.py +++ b/library/avi_virtualservice.py @@ -116,6 +116,7 @@ - Maximum of 128 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str bot_policy_ref: description: - Bot detection policy for the virtual service. @@ -203,6 +204,7 @@ - Maximum of 1000 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict dns_policies: description: - Dns policies applied on the dns traffic of the virtual service. @@ -210,6 +212,7 @@ - Allowed in enterprise edition with any value, enterprise with cloud services edition. version_added: "2.4" type: list + elements: dict east_west_placement: description: - Force placement on all se's in service group (mesos mode only). @@ -281,6 +284,7 @@ - Http policies applied on the data traffic of the virtual service. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict icap_request_profile_refs: description: - The config settings for the icap server when checking the http request. @@ -289,6 +293,7 @@ - Maximum of 1 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str ign_pool_net_reach: description: - Ignore pool servers network reachability constraints for virtual service placement. @@ -308,6 +313,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. version_added: "2.6" type: list + elements: dict ldap_vs_config: description: - Application-specific ldap config. @@ -327,6 +333,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict max_cps_per_client: description: - Maximum connections per second per client ip. @@ -374,6 +381,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. version_added: "2.4" type: list + elements: str oauth_vs_config: description: - Virtualservice specific oauth config. @@ -458,12 +466,14 @@ - Select pool based on destination port. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict services: description: - List of services defined for this virtual service. - Maximum of 2048 items allowed. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict sideband_profile: description: - Sideband configuration to be used for this virtualservice.it can be used for sending traffic to sideband vips for external inspection etc. @@ -476,6 +486,7 @@ - Maximum of 32 items allowed. - Allowed in enterprise edition with any value, basic, enterprise with cloud services edition. type: list + elements: dict sp_pool_refs: description: - Gslb pools used to manage site-persistence functionality. @@ -487,12 +498,14 @@ - edition. version_added: "2.5" type: list + elements: str ssl_key_and_certificate_refs: description: - Select or create one or two certificates, ec and/or rsa, that will be presented to ssl/tls terminated connections. - It is a reference to an object of type sslkeyandcertificate. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str ssl_profile_ref: description: - Determines the set of ssl versions and ciphers to accept for ssl/tls terminated connections. @@ -506,6 +519,7 @@ - Allowed in enterprise edition with any value, enterprise with cloud services edition. version_added: "2.9" type: list + elements: dict ssl_sess_cache_avg_size: description: - Expected number of ssl session cache entries (may be exceeded). @@ -528,6 +542,7 @@ - Maximum of 1000 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -547,6 +562,7 @@ - Allowed in enterprise edition with any value, enterprise with cloud services edition. version_added: "2.9" type: list + elements: dict traffic_clone_profile_ref: description: - Server network or list of servers for cloning traffic. @@ -604,12 +620,14 @@ - If this is a match, the parent vs will forward the connection to this child vs. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str vh_matches: description: - Match criteria to select this child vs. - Field introduced in 20.1.3. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict vh_parent_vs_ref: description: - Specifies the virtual service acting as virtual hosting (sni) parent. @@ -633,6 +651,7 @@ - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. version_added: "2.4" type: list + elements: dict vrf_context_ref: description: - Virtual routing context that the virtual service is bound to. @@ -645,6 +664,7 @@ - Datascripts applied on the data traffic of the virtual service. - Allowed in enterprise edition with any value, basic, enterprise with cloud services edition. type: list + elements: dict vsvip_cloud_config_cksum: description: - Checksum of cloud configuration for vsvip. @@ -746,7 +766,7 @@ def main(): analytics_profile_ref=dict(type='str',), application_profile_ref=dict(type='str',), azure_availability_set=dict(type='str',), - bgp_peer_labels=dict(type='list',), + bgp_peer_labels=dict(type='list', elements='str',), bot_policy_ref=dict(type='str',), bulk_sync_kvcache=dict(type='bool',), close_client_conn_on_config_update=dict(type='bool',), @@ -759,8 +779,8 @@ def main(): created_by=dict(type='str',), delay_fairness=dict(type='bool',), description=dict(type='str',), - dns_info=dict(type='list',), - dns_policies=dict(type='list',), + dns_info=dict(type='list', elements='dict',), + dns_policies=dict(type='list', elements='dict',), east_west_placement=dict(type='bool',), enable_autogw=dict(type='bool',), enable_rhi=dict(type='bool',), @@ -771,21 +791,21 @@ def main(): flow_label_type=dict(type='str',), fqdn=dict(type='str',), host_name_xlate=dict(type='str',), - http_policies=dict(type='list',), - icap_request_profile_refs=dict(type='list',), + http_policies=dict(type='list', elements='dict',), + icap_request_profile_refs=dict(type='list', elements='str',), ign_pool_net_reach=dict(type='bool',), jwt_config=dict(type='dict',), - l4_policies=dict(type='list',), + l4_policies=dict(type='list', elements='dict',), ldap_vs_config=dict(type='dict',), limit_doser=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), max_cps_per_client=dict(type='int',), microservice_ref=dict(type='str',), min_pools_up=dict(type='int',), name=dict(type='str', required=True), network_profile_ref=dict(type='str',), network_security_policy_ref=dict(type='str',), - nsx_securitygroup=dict(type='list',), + nsx_securitygroup=dict(type='list', elements='str',), oauth_vs_config=dict(type='dict',), performance_limits=dict(type='dict',), pool_group_ref=dict(type='str',), @@ -798,20 +818,20 @@ def main(): security_policy_ref=dict(type='str',), server_network_profile_ref=dict(type='str',), service_metadata=dict(type='str',), - service_pool_select=dict(type='list',), - services=dict(type='list',), + service_pool_select=dict(type='list', elements='dict',), + services=dict(type='list', elements='dict',), sideband_profile=dict(type='dict',), - snat_ip=dict(type='list',), - sp_pool_refs=dict(type='list',), - ssl_key_and_certificate_refs=dict(type='list',), + snat_ip=dict(type='list', elements='dict',), + sp_pool_refs=dict(type='list', elements='str',), + ssl_key_and_certificate_refs=dict(type='list', elements='str',), ssl_profile_ref=dict(type='str',), - ssl_profile_selectors=dict(type='list',), + ssl_profile_selectors=dict(type='list', elements='dict',), ssl_sess_cache_avg_size=dict(type='int',), sso_policy_ref=dict(type='str',), - static_dns_records=dict(type='list',), + static_dns_records=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), test_se_datastore_level_1_ref=dict(type='str',), - topology_policies=dict(type='list',), + topology_policies=dict(type='list', elements='dict',), traffic_clone_profile_ref=dict(type='str',), traffic_enabled=dict(type='bool',), type=dict(type='str',), @@ -819,13 +839,13 @@ def main(): use_bridge_ip_as_vip=dict(type='bool',), use_vip_as_snat=dict(type='bool',), uuid=dict(type='str',), - vh_domain_name=dict(type='list',), - vh_matches=dict(type='list',), + vh_domain_name=dict(type='list', elements='str',), + vh_matches=dict(type='list', elements='dict',), vh_parent_vs_ref=dict(type='str',), vh_type=dict(type='str',), - vip=dict(type='list',), + vip=dict(type='list', elements='dict',), vrf_context_ref=dict(type='str',), - vs_datascripts=dict(type='list',), + vs_datascripts=dict(type='list', elements='dict',), vsvip_cloud_config_cksum=dict(type='str',), vsvip_ref=dict(type='str',), waf_policy_ref=dict(type='str',), diff --git a/library/avi_vrfcontext.py b/library/avi_vrfcontext.py index 5896cac..1ecea5a 100644 --- a/library/avi_vrfcontext.py +++ b/library/avi_vrfcontext.py @@ -56,6 +56,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict bfd_profile: description: - Bfd configuration profile. @@ -94,6 +95,7 @@ - Configure ping based heartbeat check for gateway in service engines of vrf. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict internal_gateway_monitor: description: - Configure ping based heartbeat check for all default gateways in service engines of vrf. @@ -115,6 +117,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -124,6 +127,7 @@ description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict system_default: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -190,19 +194,19 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - attrs=dict(type='list',), + attrs=dict(type='list', elements='dict',), bfd_profile=dict(type='dict',), bgp_profile=dict(type='dict',), cloud_ref=dict(type='str',), configpb_attributes=dict(type='dict',), debugvrfcontext=dict(type='dict',), description=dict(type='str',), - gateway_mon=dict(type='list',), + gateway_mon=dict(type='list', elements='dict',), internal_gateway_monitor=dict(type='dict',), lldp_enable=dict(type='bool',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), - static_routes=dict(type='list',), + static_routes=dict(type='list', elements='dict',), system_default=dict(type='bool',), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_vsdatascriptset.py b/library/avi_vsdatascriptset.py index 851e8eb..b2ca87d 100644 --- a/library/avi_vsdatascriptset.py +++ b/library/avi_vsdatascriptset.py @@ -68,6 +68,7 @@ - Datascripts to execute. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict description: description: - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. @@ -92,6 +93,7 @@ - It is a reference to an object of type ipaddrgroup. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str markers: description: - List of labels to be used for granular rbac. @@ -99,6 +101,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name for the virtual service datascript collection. @@ -112,18 +115,21 @@ - Field introduced in 21.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str pool_group_refs: description: - Uuid of pool groups that could be referred by vsdatascriptset objects. - It is a reference to an object of type poolgroup. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: str pool_refs: description: - Uuid of pools that could be referred by vsdatascriptset objects. - It is a reference to an object of type pool. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str protocol_parser_refs: description: - List of protocol parsers that could be referred by vsdatascriptset objects. @@ -132,6 +138,7 @@ - Allowed in enterprise edition with any value, enterprise with cloud services edition. version_added: "2.9" type: list + elements: str rate_limiters: description: - The rate limit definitions needed for this datascript. @@ -139,6 +146,7 @@ - Field introduced in 18.2.9. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict ssl_key_certificate_refs: description: - Uuids of sslkeyandcertificate objects that could be referred by vsdatascriptset objects. @@ -146,6 +154,7 @@ - Field introduced in 21.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str ssl_profile_refs: description: - Uuids of sslprofile objects that could be referred by vsdatascriptset objects. @@ -153,12 +162,14 @@ - Field introduced in 21.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str string_group_refs: description: - Uuid of string groups that could be referred by vsdatascriptset objects. - It is a reference to an object of type stringgroup. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str tenant_ref: description: - It is a reference to an object of type tenant. @@ -223,21 +234,21 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), created_by=dict(type='str',), - datascript=dict(type='list',), + datascript=dict(type='list', elements='dict',), description=dict(type='str',), geo_db_ref=dict(type='str',), ip_reputation_db_ref=dict(type='str',), - ipgroup_refs=dict(type='list',), - markers=dict(type='list',), + ipgroup_refs=dict(type='list', elements='str',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), - pki_profile_refs=dict(type='list',), - pool_group_refs=dict(type='list',), - pool_refs=dict(type='list',), - protocol_parser_refs=dict(type='list',), - rate_limiters=dict(type='list',), - ssl_key_certificate_refs=dict(type='list',), - ssl_profile_refs=dict(type='list',), - string_group_refs=dict(type='list',), + pki_profile_refs=dict(type='list', elements='str',), + pool_group_refs=dict(type='list', elements='str',), + pool_refs=dict(type='list', elements='str',), + protocol_parser_refs=dict(type='list', elements='str',), + rate_limiters=dict(type='list', elements='dict',), + ssl_key_certificate_refs=dict(type='list', elements='str',), + ssl_profile_refs=dict(type='list', elements='str',), + string_group_refs=dict(type='list', elements='str',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_vsvip.py b/library/avi_vsvip.py index 9ab42fa..513949d 100644 --- a/library/avi_vsvip.py +++ b/library/avi_vsvip.py @@ -56,6 +56,7 @@ - Maximum of 128 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: str cloud_ref: description: - It is a reference to an object of type cloud. @@ -76,6 +77,7 @@ - Maximum of 1000 items allowed. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict east_west_placement: description: - Force placement on all service engines in the service engine group (container clouds only). @@ -98,6 +100,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Name for the vsvip object. @@ -142,6 +145,7 @@ - Field introduced in 17.1.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict vrf_context_ref: description: - Virtual routing context that the virtual service is bound to. @@ -220,20 +224,20 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - bgp_peer_labels=dict(type='list',), + bgp_peer_labels=dict(type='list', elements='str',), cloud_ref=dict(type='str',), configpb_attributes=dict(type='dict',), - dns_info=dict(type='list',), + dns_info=dict(type='list', elements='dict',), east_west_placement=dict(type='bool',), ipam_selector=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), tier1_lr=dict(type='str',), url=dict(type='str',), use_standard_alb=dict(type='bool',), uuid=dict(type='str',), - vip=dict(type='list',), + vip=dict(type='list', elements='dict',), vrf_context_ref=dict(type='str',), vsvip_cloud_config_cksum=dict(type='str',), ) diff --git a/library/avi_wafapplicationsignatureprovider.py b/library/avi_wafapplicationsignatureprovider.py index 7f6ef21..03a4c54 100644 --- a/library/avi_wafapplicationsignatureprovider.py +++ b/library/avi_wafapplicationsignatureprovider.py @@ -55,6 +55,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict configpb_attributes: description: - Protobuf versioning for config pbs. @@ -89,6 +90,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -152,12 +154,12 @@ def main(): avi_api_patch_op=dict(choices=['add', 'replace', 'delete', 'remove']), avi_patch_path=dict(type='str',), avi_patch_value=dict(type='str',), - available_applications=dict(type='list',), + available_applications=dict(type='list', elements='dict',), configpb_attributes=dict(type='dict',), name=dict(type='str',), ruleset_version=dict(type='str',), service_status=dict(type='dict',), - signatures=dict(type='list',), + signatures=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), diff --git a/library/avi_wafpolicy.py b/library/avi_wafpolicy.py index b5a309c..223d658 100644 --- a/library/avi_wafpolicy.py +++ b/library/avi_wafpolicy.py @@ -111,6 +111,7 @@ - Field introduced in 20.1.6. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict description: description: - Field introduced in 17.2.1. @@ -169,6 +170,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict min_confidence: description: - Minimum confidence label required for auto rule updates. @@ -218,6 +220,7 @@ - Field introduced in 17.2.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict pre_crs_groups: description: - Waf rules are categorized in to groups based on their characterization. @@ -225,6 +228,7 @@ - Field introduced in 17.2.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict required_data_files: description: - The data files and types referred in this waf policy. @@ -232,6 +236,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict tenant_ref: description: - It is a reference to an object of type tenant. @@ -356,7 +361,7 @@ def main(): confidence_override=dict(type='dict',), configpb_attributes=dict(type='dict',), created_by=dict(type='str',), - crs_overrides=dict(type='list',), + crs_overrides=dict(type='list', elements='dict',), description=dict(type='str',), enable_app_learning=dict(type='bool',), enable_auto_rule_updates=dict(type='bool',), @@ -364,15 +369,15 @@ def main(): failure_mode=dict(type='str',), geo_db_ref=dict(type='str',), learning_params=dict(type='dict',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), min_confidence=dict(type='str',), mode=dict(type='str',), name=dict(type='str', required=True), paranoia_level=dict(type='str',), positive_security_model=dict(type='dict',), - post_crs_groups=dict(type='list',), - pre_crs_groups=dict(type='list',), - required_data_files=dict(type='list',), + post_crs_groups=dict(type='list', elements='dict',), + pre_crs_groups=dict(type='list', elements='dict',), + required_data_files=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), updated_crs_rules_in_detection_mode=dict(type='bool',), url=dict(type='str',), diff --git a/library/avi_wafpolicypsmgroup.py b/library/avi_wafpolicypsmgroup.py index 7bff03f..317295e 100644 --- a/library/avi_wafpolicypsmgroup.py +++ b/library/avi_wafpolicypsmgroup.py @@ -91,6 +91,7 @@ - Field introduced in 18.2.3. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict markers: description: - List of labels to be used for granular rbac. @@ -98,6 +99,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict miss_action: description: - If a rule in this group does not match the match_value pattern, this action will be executed. @@ -184,8 +186,8 @@ def main(): enable=dict(type='bool',), hit_action=dict(type='str',), is_learning_group=dict(type='bool',), - locations=dict(type='list',), - markers=dict(type='list',), + locations=dict(type='list', elements='dict',), + markers=dict(type='list', elements='dict',), miss_action=dict(type='str',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), diff --git a/library/avi_wafprofile.py b/library/avi_wafprofile.py index 6cd1d90..57cd7f3 100644 --- a/library/avi_wafprofile.py +++ b/library/avi_wafprofile.py @@ -73,6 +73,7 @@ - Field introduced in 17.2.1. - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. type: list + elements: dict markers: description: - List of labels to be used for granular rbac. @@ -80,6 +81,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - Field introduced in 17.2.1. @@ -152,8 +154,8 @@ def main(): config=dict(type='dict', required=True), configpb_attributes=dict(type='dict',), description=dict(type='str',), - files=dict(type='list',), - markers=dict(type='list',), + files=dict(type='list', elements='dict',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',), diff --git a/library/avi_webapput.py b/library/avi_webapput.py index 883af17..01ca4db 100644 --- a/library/avi_webapput.py +++ b/library/avi_webapput.py @@ -57,7 +57,7 @@ type: dict mandatory_test: description: - - Optional message for nested f_mandatory test cases defined at level0. + - Optional message for nested f_mandatory test cases defined at level1. - Field introduced in 21.1.5, 22.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: dict @@ -67,6 +67,7 @@ - Field introduced in 21.1.5, 22.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict name: description: - Name of the webapput object-level0. @@ -74,6 +75,19 @@ - Allowed in enterprise edition with any value, enterprise with cloud services edition. required: true type: str + sensitive_test: + description: + - Optional message for nested f_sensitive test cases defined at level1. + - Field introduced in 22.1.3. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + type: dict + sensitive_tests: + description: + - Repeated message for nested f_sensitive test cases-level1. + - Field introduced in 22.1.3. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + type: list + elements: dict string_length_test: description: - Optional message for nested max string length test cases. @@ -86,6 +100,7 @@ - Field introduced in 21.1.5, 22.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: list + elements: dict tenant_ref: description: - Tenant of the webapput object-level0. @@ -93,6 +108,13 @@ - Field introduced in 21.1.5, 22.1.1. - Allowed in enterprise edition with any value, enterprise with cloud services edition. type: str + test_sensitive_string: + description: + - The string for sensitive (secret) field. + - Object-level0. + - Field introduced in 22.1.3. + - Allowed in enterprise edition with any value, enterprise with cloud services edition. + type: str test_string: description: - The maximum string length. @@ -159,11 +181,14 @@ def main(): avi_patch_value=dict(type='str',), configpb_attributes=dict(type='dict',), mandatory_test=dict(type='dict',), - mandatory_tests=dict(type='list',), + mandatory_tests=dict(type='list', elements='dict',), name=dict(type='str', required=True), + sensitive_test=dict(type='dict',), + sensitive_tests=dict(type='list', elements='dict',), string_length_test=dict(type='dict',), - string_length_tests=dict(type='list',), + string_length_tests=dict(type='list', elements='dict',), tenant_ref=dict(type='str',), + test_sensitive_string=dict(type='str', no_log=True,), test_string=dict(type='str',), url=dict(type='str',), uuid=dict(type='str',), @@ -176,7 +201,7 @@ def main(): 'Avi python API SDK (avisdk>=17.1) or requests is not installed. ' 'For more details visit https://github.com/vmware/alb-sdk.')) return avi_ansible_api(module, 'webapput', - set()) + ['test_sensitive_string']) if __name__ == '__main__': diff --git a/library/avi_webhook.py b/library/avi_webhook.py index e8ba053..adea725 100644 --- a/library/avi_webhook.py +++ b/library/avi_webhook.py @@ -73,6 +73,7 @@ - Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services - edition. type: list + elements: dict name: description: - The name of the webhook profile. @@ -153,7 +154,7 @@ def main(): callback_url=dict(type='str',), configpb_attributes=dict(type='dict',), description=dict(type='str',), - markers=dict(type='list',), + markers=dict(type='list', elements='dict',), name=dict(type='str', required=True), tenant_ref=dict(type='str',), url=dict(type='str',),