From 81b6bf13cb8f390d4ac82b0b5b3a944bb85b933a Mon Sep 17 00:00:00 2001 From: Sagar Date: Mon, 26 Feb 2024 00:54:37 -0800 Subject: [PATCH] Updated assets for terraform Signed-off-by: Sagar --- avi/datasource_avi_serviceenginegroup.go | 4 +++ avi/resource_avi_rest_dependants.go | 31 +++++++++---------- avi/resource_avi_serviceenginegroup.go | 6 ++++ .../d/avi_serviceenginegroup.html.markdown | 3 +- .../r/avi_serviceenginegroup.html.markdown | 3 +- 5 files changed, 29 insertions(+), 18 deletions(-) diff --git a/avi/datasource_avi_serviceenginegroup.go b/avi/datasource_avi_serviceenginegroup.go index f0bf6759..845ff7ef 100644 --- a/avi/datasource_avi_serviceenginegroup.go +++ b/avi/datasource_avi_serviceenginegroup.go @@ -584,6 +584,10 @@ func dataSourceAviServiceEngineGroup() *schema.Resource { Type: schema.TypeString, Computed: true, }, + "multicast_enable": { + Type: schema.TypeString, + Computed: true, + }, "n_log_streaming_threads": { Type: schema.TypeString, Computed: true, diff --git a/avi/resource_avi_rest_dependants.go b/avi/resource_avi_rest_dependants.go index 68247eb9..685087f7 100644 --- a/avi/resource_avi_rest_dependants.go +++ b/avi/resource_avi_rest_dependants.go @@ -4562,19 +4562,6 @@ func ResourceCapturePacketFilterSchema() *schema.Resource { } } -func ResourceCaptureTCPSchema() *schema.Resource { - return &schema.Resource{ - Schema: map[string]*schema.Schema{ - "tcpflag": { - Type: schema.TypeSet, - Optional: true, - Computed: true, - Elem: ResourceCaptureTCPFlagsSchema(), - }, - }, - } -} - func ResourceCaptureTCPFilterSchema() *schema.Resource { return &schema.Resource{ Schema: map[string]*schema.Schema{ @@ -4601,10 +4588,11 @@ func ResourceCaptureTCPFilterSchema() *schema.Resource { Computed: true, Elem: ResourceSourcePortAddrSchema(), }, - "tcpflags": { - Type: schema.TypeList, + "tcpflag": { + Type: schema.TypeSet, Optional: true, - Elem: ResourceCaptureTCPSchema(), + Computed: true, + Elem: ResourceCaptureTCPFlagsSchema(), }, }, } @@ -4613,6 +4601,11 @@ func ResourceCaptureTCPFilterSchema() *schema.Resource { func ResourceCaptureTCPFlagsSchema() *schema.Resource { return &schema.Resource{ Schema: map[string]*schema.Schema{ + "filter_op": { + Type: schema.TypeString, + Optional: true, + Default: "OR", + }, "match_operation": { Type: schema.TypeString, Optional: true, @@ -4636,6 +4629,12 @@ func ResourceCaptureTCPFlagsSchema() *schema.Resource { Computed: true, ValidateFunc: validateBool, }, + "tcp_rst": { + Type: schema.TypeString, + Optional: true, + Computed: true, + ValidateFunc: validateBool, + }, "tcp_syn": { Type: schema.TypeString, Optional: true, diff --git a/avi/resource_avi_serviceenginegroup.go b/avi/resource_avi_serviceenginegroup.go index 1b6e9d2f..f729c58a 100644 --- a/avi/resource_avi_serviceenginegroup.go +++ b/avi/resource_avi_serviceenginegroup.go @@ -829,6 +829,12 @@ func ResourceServiceEngineGroupSchema() map[string]*schema.Schema { Default: "20", ValidateFunc: validateInteger, }, + "multicast_enable": { + Type: schema.TypeString, + Optional: true, + Default: "true", + ValidateFunc: validateBool, + }, "n_log_streaming_threads": { Type: schema.TypeString, Optional: true, diff --git a/website/docs/d/avi_serviceenginegroup.html.markdown b/website/docs/d/avi_serviceenginegroup.html.markdown index b9924195..2078fa29 100644 --- a/website/docs/d/avi_serviceenginegroup.html.markdown +++ b/website/docs/d/avi_serviceenginegroup.html.markdown @@ -174,6 +174,7 @@ In addition to all arguments above, the following attributes are exported: * `min_scaleout_per_vs` - Minimum number of active service engines for the virtual service. Allowed values are 1-64. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `min_se` - Minimum number of services engines in this group (relevant for se autorebalance only). Allowed values are 0-1000. Field introduced in 17.2.13,18.1.3,18.2.1. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `minimum_connection_memory` - Indicates the percent of memory reserved for connections. Allowed values are 0-100. Field introduced in 18.1.2. Unit is percent. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. +* `multicast_enable` - This knob enables the service engine to process multicast traffic(for vmware hypervisor). Field introduced in 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition. * `n_log_streaming_threads` - Number of threads to use for log streaming. Allowed values are 1-100. Field introduced in 17.2.12, 18.1.2. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `name` - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `netlink_poller_threads` - Number of threads to poll for netlink messages excluding the thread for default namespace. Requires se reboot. Allowed values are 1-32. Field introduced in 21.1.1. Allowed in enterprise edition with any value, enterprise with cloud services edition. @@ -207,7 +208,7 @@ In addition to all arguments above, the following attributes are exported: * `sdb_pipeline_size` - Sdb pipeline size. Allowed values are 1-10000. Field introduced in 21.1.1. Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services edition. * `sdb_scan_count` - Sdb scan count. Allowed values are 1-1000. Field introduced in 21.1.1. Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services edition. * `se_bandwidth_type` - Select the se bandwidth for the bandwidth license. Enum options - SE_BANDWIDTH_UNLIMITED, SE_BANDWIDTH_25M, SE_BANDWIDTH_200M, SE_BANDWIDTH_1000M, SE_BANDWIDTH_10000M. Field introduced in 17.2.5. Allowed in enterprise edition with any value, essentials edition(allowed values- se_bandwidth_unlimited), basic edition(allowed values- se_bandwidth_unlimited), enterprise with cloud services edition. -* `se_debug_trace_sz` - Use to cap the size of debug ring min(se_debug_trace_sz, num_dispatcher_cores). Only applicable to > 8g systems. Requires se reboot. Allowed values are 1,2,4,8. Field introduced in 22.1.6. Allowed in enterprise edition with any value, enterprise with cloud services edition. +* `se_debug_trace_sz` - Use to cap the size of debug ring min(se_debug_trace_sz, num_dispatcher_cores). Only applicable to > 8g systems. Requires se reboot. Allowed values are 1,2,4,8,255. Field introduced in 22.1.6. Allowed in enterprise edition with any value, enterprise with cloud services edition. * `se_delayed_flow_delete` - Delay the cleanup of flowtable entry. To be used under surveillance of avi support. Field introduced in 20.1.2. Allowed in enterprise edition with any value, essentials edition(allowed values- true), basic edition(allowed values- true), enterprise with cloud services edition. * `se_deprovision_delay` - Duration to preserve unused service engine virtual machines before deleting them. If traffic to a virtual service were to spike up abruptly, this se would still be available to be utilized again rather than creating a new se. If this value is set to 0, controller will never delete any ses and administrator has to manually cleanup unused ses. Allowed values are 0-525600. Unit is min. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `se_dos_profile` - Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. diff --git a/website/docs/r/avi_serviceenginegroup.html.markdown b/website/docs/r/avi_serviceenginegroup.html.markdown index f78a5cde..c01e6b84 100644 --- a/website/docs/r/avi_serviceenginegroup.html.markdown +++ b/website/docs/r/avi_serviceenginegroup.html.markdown @@ -168,6 +168,7 @@ The following arguments are supported: * `min_scaleout_per_vs` - (Optional) Minimum number of active service engines for the virtual service. Allowed values are 1-64. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `min_se` - (Optional) Minimum number of services engines in this group (relevant for se autorebalance only). Allowed values are 0-1000. Field introduced in 17.2.13,18.1.3,18.2.1. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `minimum_connection_memory` - (Optional) Indicates the percent of memory reserved for connections. Allowed values are 0-100. Field introduced in 18.1.2. Unit is percent. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. +* `multicast_enable` - (Optional) This knob enables the service engine to process multicast traffic(for vmware hypervisor). Field introduced in 30.2.1. Allowed in enterprise edition with any value, enterprise with cloud services edition. * `n_log_streaming_threads` - (Optional) Number of threads to use for log streaming. Allowed values are 1-100. Field introduced in 17.2.12, 18.1.2. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `netlink_poller_threads` - (Optional) Number of threads to poll for netlink messages excluding the thread for default namespace. Requires se reboot. Allowed values are 1-32. Field introduced in 21.1.1. Allowed in enterprise edition with any value, enterprise with cloud services edition. * `netlink_sock_buf_size` - (Optional) Socket buffer size for the netlink sockets. Requires se reboot. Allowed values are 1-128. Field introduced in 21.1.1. Unit is mega_bytes. Allowed in enterprise edition with any value, enterprise with cloud services edition. @@ -200,7 +201,7 @@ The following arguments are supported: * `sdb_pipeline_size` - (Optional) Sdb pipeline size. Allowed values are 1-10000. Field introduced in 21.1.1. Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services edition. * `sdb_scan_count` - (Optional) Sdb scan count. Allowed values are 1-1000. Field introduced in 21.1.1. Allowed in enterprise edition with any value, essentials edition with any value, basic edition with any value, enterprise with cloud services edition. * `se_bandwidth_type` - (Optional) Select the se bandwidth for the bandwidth license. Enum options - SE_BANDWIDTH_UNLIMITED, SE_BANDWIDTH_25M, SE_BANDWIDTH_200M, SE_BANDWIDTH_1000M, SE_BANDWIDTH_10000M. Field introduced in 17.2.5. Allowed in enterprise edition with any value, essentials edition(allowed values- se_bandwidth_unlimited), basic edition(allowed values- se_bandwidth_unlimited), enterprise with cloud services edition. -* `se_debug_trace_sz` - (Optional) Use to cap the size of debug ring min(se_debug_trace_sz, num_dispatcher_cores). Only applicable to > 8g systems. Requires se reboot. Allowed values are 1,2,4,8. Field introduced in 22.1.6. Allowed in enterprise edition with any value, enterprise with cloud services edition. +* `se_debug_trace_sz` - (Optional) Use to cap the size of debug ring min(se_debug_trace_sz, num_dispatcher_cores). Only applicable to > 8g systems. Requires se reboot. Allowed values are 1,2,4,8,255. Field introduced in 22.1.6. Allowed in enterprise edition with any value, enterprise with cloud services edition. * `se_delayed_flow_delete` - (Optional) Delay the cleanup of flowtable entry. To be used under surveillance of avi support. Field introduced in 20.1.2. Allowed in enterprise edition with any value, essentials edition(allowed values- true), basic edition(allowed values- true), enterprise with cloud services edition. * `se_deprovision_delay` - (Optional) Duration to preserve unused service engine virtual machines before deleting them. If traffic to a virtual service were to spike up abruptly, this se would still be available to be utilized again rather than creating a new se. If this value is set to 0, controller will never delete any ses and administrator has to manually cleanup unused ses. Allowed values are 0-525600. Unit is min. Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition. * `se_dos_profile` - (Optional) Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.