Skip to content

Commit

Permalink
Updated assets for terraform
Browse files Browse the repository at this point in the history
Signed-off-by: Sagar <ssalvi@vmware.com>
  • Loading branch information
sagarpsalvi committed Feb 26, 2024
1 parent 54f74d2 commit 81b6bf1
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 18 deletions.
4 changes: 4 additions & 0 deletions avi/datasource_avi_serviceenginegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
31 changes: 15 additions & 16 deletions avi/resource_avi_rest_dependants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -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(),
},
},
}
Expand All @@ -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,
Expand All @@ -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,
Expand Down
6 changes: 6 additions & 0 deletions avi/resource_avi_serviceenginegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion website/docs/d/avi_serviceenginegroup.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion website/docs/r/avi_serviceenginegroup.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 81b6bf1

Please sign in to comment.