Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Requirements
------------

- [Terraform](https://www.terraform.io/downloads.html) 0.12.x/0.13+ (0.11.x or lower is incompatible)
- [Go](https://golang.org/doc/install) 1.22.6 (to build the provider plugin)
- [Go](https://golang.org/doc/install) 1.13 (to build the provider plugin)

Building The Provider (Terraform v0.12+)
----------------------------------------
Expand Down
24 changes: 0 additions & 24 deletions avi/data_source_avi_alertconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,6 @@ sys_event_rule {
event_id = "VCENTER_ACCESS_SLOW"
not_cond = false
}
sys_event_rule {
event_id = "OPENSTACK_ACCESS_FAILURE"
not_cond = false
}
sys_event_rule {
event_id = "OPENSTACK_IMAGE_UPLOAD_FAILURE"
not_cond = false
}
sys_event_rule {
event_id = "AWS_ACCESS_FAILURE"
not_cond = false
Expand Down Expand Up @@ -142,14 +134,6 @@ sys_event_rule {
event_id = "CLOUDSTACK_IMAGE_UPLOAD_FAILURE"
not_cond = false
}
sys_event_rule {
event_id = "DOCKER_UCP_ACCESS_FAILURE"
not_cond = false
}
sys_event_rule {
event_id = "DOCKER_UCP_IMAGE_UPLOAD_FAILURE"
not_cond = false
}
sys_event_rule {
event_id = "VCA_ACCESS_FAILURE"
not_cond = false
Expand All @@ -166,14 +150,6 @@ sys_event_rule {
event_id = "LS_IMAGE_UPLOAD_FAILURE"
not_cond = false
}
sys_event_rule {
event_id = "MESOS_ACCESS_FAILURE"
not_cond = false
}
sys_event_rule {
event_id = "MESOS_IMAGE_UPLOAD_FAILURE"
not_cond = false
}
sys_event_rule {
event_id = "CC_SE_CREATION_FAILURE"
not_cond = false
Expand Down
10 changes: 10 additions & 0 deletions avi/data_source_avi_applicationprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ resource "avi_applicationprofile" "testApplicationProfile" {
mime_types_group_refs = [data.avi_stringgroup.system_cacheablestringgroup.id]
}
http2_profile {
http2_initial_window_size = "64"
max_http2_concurrent_streams_per_connection = "128"
max_http2_control_frames_per_connection = "1000"
max_http2_empty_data_frames_per_connection = "1000"
max_http2_header_field_size = "4096"
max_http2_queued_frames_to_client_per_connection = "1000"
max_http2_requests_per_connection = "1000"
}
max_rps_unknown_uri = "0"
post_accept_timeout = "30000"
Expand All @@ -108,6 +115,9 @@ resource "avi_applicationprofile" "testApplicationProfile" {
use_app_keepalive_timeout = false
}
preserve_client_port = false
l4_ssl_profile {
ssl_stream_idle_timeout = "3600"
}
}

data "avi_applicationprofile" "testApplicationProfile" {
Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_certificatemanagementprofile_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* Copyright (c) 2025 Broadcom Inc. and/or its subsidiaries. All Rights Reserved. Broadcom Confidential.
* ========================================================================
*/

Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_cluster_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* Copyright (c) 2025 Broadcom Inc. and/or its subsidiaries. All Rights Reserved. Broadcom Confidential.
* ========================================================================
*/

Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_pool_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* Copyright (c) 2025 Broadcom Inc. and/or its subsidiaries. All Rights Reserved. Broadcom Confidential.
* ========================================================================
*/

Expand Down
9 changes: 9 additions & 0 deletions avi/data_source_avi_snmptrapprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ data "avi_tenant" "default_tenant"{
resource "avi_snmptrapprofile" "testSnmpTrapProfile" {
name = "test-snmp-test-abc"
tenant_ref = data.avi_tenant.default_tenant.id
trap_servers {
community = "abc"
ip_addr {
addr = "10.10.10.2"
type = "V4"
}
port = "162"
version = "SNMP_VER2"
}
}

data "avi_snmptrapprofile" "testSnmpTrapProfile" {
Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_useraccount_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***************************************************************************
* ========================================================================
* Copyright 2024 VMware, Inc. All rights reserved. VMware Confidential
* Copyright (c) 2025 Broadcom Inc. and/or its subsidiaries. All Rights Reserved. Broadcom Confidential.
* ========================================================================
*/

Expand Down
4 changes: 4 additions & 0 deletions avi/datasource_avi_alertscriptconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ func dataSourceAviAlertScriptConfig() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"user_ref": {
Type: schema.TypeString,
Computed: true,
},
"uuid": {
Type: schema.TypeString,
Optional: true,
Expand Down
4 changes: 4 additions & 0 deletions avi/datasource_avi_analyticsprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ func dataSourceAviAnalyticsProfile() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"exclude_conn_drop_client_small_window_as_error": {
Type: schema.TypeString,
Computed: true,
},
"exclude_dns_policy_drop_as_significant": {
Type: schema.TypeString,
Computed: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,20 @@ package avi

import "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

func dataSourceAviFederationCheckpoint() *schema.Resource {
func dataSourceAviApiRateLimitProfile() *schema.Resource {
return &schema.Resource{
Read: ResourceAviFederationCheckpointRead,
Read: ResourceAviApiRateLimitProfileRead,
Schema: map[string]*schema.Schema{
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"date": {
Type: schema.TypeString,
Computed: true,
},
"description": {
Type: schema.TypeString,
Computed: true,
},
"is_federated": {
"enabled": {
Type: schema.TypeString,
Computed: true,
},
Expand All @@ -31,6 +27,11 @@ func dataSourceAviFederationCheckpoint() *schema.Resource {
Optional: true,
Computed: true,
},
"rate_limit_configuration_refs": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
},
"tenant_ref": {
Type: schema.TypeString,
Optional: true,
Expand Down
9 changes: 9 additions & 0 deletions avi/datasource_avi_applicationpersistenceprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ func dataSourceAviApplicationPersistenceProfile() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"diameter_app_persistence_profile": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceDiameterAVPPersistenceProfileSchema(),
},
"hdr_persistence_profile": {
Type: schema.TypeSet,
Computed: true,
Expand Down Expand Up @@ -56,6 +61,10 @@ func dataSourceAviApplicationPersistenceProfile() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"persistence_update_interval": {
Type: schema.TypeString,
Computed: true,
},
"server_hm_down_recovery": {
Type: schema.TypeString,
Computed: true,
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_applicationprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ func dataSourceAviApplicationProfile() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"diameter_service_profile": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceDiameterServiceApplicationProfileSchema(),
},
"dns_service_profile": {
Type: schema.TypeSet,
Computed: true,
Expand Down
20 changes: 15 additions & 5 deletions avi/datasource_avi_availabilityzone.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,21 @@ func dataSourceAviAvailabilityZone() *schema.Resource {
return &schema.Resource{
Read: ResourceAviAvailabilityZoneRead,
Schema: map[string]*schema.Schema{
"az_clusters": {
Type: schema.TypeList,
Computed: true,
Elem: ResourceAZClusterSchema(),
},
"az_datastores": {
Type: schema.TypeList,
Computed: true,
Elem: ResourceAZDatastoreSchema(),
},
"az_hosts": {
Type: schema.TypeList,
Computed: true,
Elem: ResourceAZHostSchema(),
},
"cloud_ref": {
Type: schema.TypeString,
Optional: true,
Expand All @@ -34,11 +49,6 @@ func dataSourceAviAvailabilityZone() *schema.Resource {
Optional: true,
Computed: true,
},
"vcenter_refs": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
},
},
}
}
4 changes: 4 additions & 0 deletions avi/datasource_avi_backupconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ func dataSourceAviBackupConfiguration() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"bundle_mode": {
Type: schema.TypeString,
Computed: true,
},
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_botconfigconsolidator.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ func dataSourceAviBotConfigConsolidator() *schema.Resource {
return &schema.Resource{
Read: ResourceAviBotConfigConsolidatorRead,
Schema: map[string]*schema.Schema{
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"description": {
Type: schema.TypeString,
Computed: true,
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_botdetectionpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ func dataSourceAviBotDetectionPolicy() *schema.Resource {
Computed: true,
Elem: ResourceBotConfigClientBehaviorSchema(),
},
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"description": {
Type: schema.TypeString,
Computed: true,
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_botipreputationtypemapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ func dataSourceAviBotIPReputationTypeMapping() *schema.Resource {
return &schema.Resource{
Read: ResourceAviBotIPReputationTypeMappingRead,
Schema: map[string]*schema.Schema{
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"ip_reputation_mappings": {
Type: schema.TypeList,
Computed: true,
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_botmapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ func dataSourceAviBotMapping() *schema.Resource {
return &schema.Resource{
Read: ResourceAviBotMappingRead,
Schema: map[string]*schema.Schema{
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"mapping_rules": {
Type: schema.TypeList,
Computed: true,
Expand Down
5 changes: 0 additions & 5 deletions avi/datasource_avi_cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,6 @@ func dataSourceAviCloud() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"openstack_configuration": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceOpenStackConfigurationSchema(),
},
"prefer_static_routes": {
Type: schema.TypeString,
Computed: true,
Expand Down
5 changes: 0 additions & 5 deletions avi/datasource_avi_cloudconnectoruser.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ func dataSourceAviCloudConnectorUser() *schema.Resource {
Computed: true,
Elem: ResourceNsxtCredentialsSchema(),
},
"oci_credentials": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceOCICredentialsSchema(),
},
"password": {
Type: schema.TypeString,
Computed: true,
Expand Down
Loading
Loading