Skip to content

Commit

Permalink
Revert "Feature/NetLB connection tracking (hashicorp#5207)" (hashicor…
Browse files Browse the repository at this point in the history
…p#5272)

This reverts commit f10f7b7.
  • Loading branch information
melinath authored Oct 4, 2021
1 parent 80aae9e commit 2e54775
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 85 deletions.
54 changes: 0 additions & 54 deletions mmv1/products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2718,60 +2718,6 @@ objects:
- :GENERATED_COOKIE
- :HEADER_FIELD
- :HTTP_COOKIE
- :CLIENT_IP_NO_DESTINATION
- !ruby/object:Api::Type::NestedObject
name: 'connectionTrackingPolicy'
description: |
Connection Tracking configuration for this BackendService.
This is available only for Layer 4 Internal Load Balancing and
Network Load Balancing.
properties:
- !ruby/object:Api::Type::Integer
name: 'idleTimeoutSec'
description: |
Specifies how long to keep a Connection Tracking entry while there is
no matching traffic (in seconds).

For L4 ILB the minimum(default) is 10 minutes and maximum is 16 hours.

For NLB the minimum(default) is 60 seconds and the maximum is 16 hours.
- !ruby/object:Api::Type::Enum
name: 'trackingMode'
description: |
Specifies the key used for connection tracking. There are two options:
`PER_CONNECTION`: The Connection Tracking is performed as per the
Connection Key (default Hash Method) for the specific protocol.

`PER_SESSION`: The Connection Tracking is performed as per the
configured Session Affinity. It matches the configured Session Affinity.
default_value: :PER_CONNECTION
values:
- :PER_CONNECTION
- :PER_SESSION
- !ruby/object:Api::Type::Enum
name: 'connectionPersistenceOnUnhealthyBackends'
description: |
Specifies connection persistence when backends are unhealthy.

If set to `DEFAULT_FOR_PROTOCOL`, the existing connections persist on
unhealthy backends only for connection-oriented protocols (TCP and SCTP)
and only if the Tracking Mode is PER_CONNECTION (default tracking mode)
or the Session Affinity is configured for 5-tuple. They do not persist
for UDP.

If set to `NEVER_PERSIST`, after a backend becomes unhealthy, the existing
connections on the unhealthy backend are never persisted on the unhealthy
backend. They are always diverted to newly selected healthy backends
(unless all backends are unhealthy).

If set to `ALWAYS_PERSIST`, existing connections always persist on
unhealthy backends regardless of protocol and session affinity. It is
generally not recommended to use this mode overriding the default.
default_value: :DEFAULT_FOR_PROTOCOL
values:
- :DEFAULT_FOR_PROTOCOL
- :NEVER_PERSIST
- :ALWAYS_PERSIST
- !ruby/object:Api::Type::Integer
name: 'timeoutSec'
description: |
Expand Down
8 changes: 0 additions & 8 deletions mmv1/products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,6 @@ overrides: !ruby/object:Overrides::ResourceOverrides
rigm_name: "rbs-rigm"
region_health_check_name: "rbs-health-check"
network_name: "rbs-net"
- !ruby/object:Provider::Terraform::Examples
name: "region_backend_service_connection_tracking"
primary_resource_id: "default"
vars:
region_backend_service_name: "region-service"
health_check_name: "rbs-health-check"
custom_code: !ruby/object:Provider::Terraform::CustomCode
constants: templates/terraform/constants/region_backend_service.go.erb
encoder: templates/terraform/encoders/region_backend_service.go.erb
Expand Down Expand Up @@ -455,8 +449,6 @@ overrides: !ruby/object:Overrides::ResourceOverrides
default_from_api: true
logConfig: !ruby/object:Overrides::Terraform::PropertyOverride
default_from_api: true
connectionTrackingPolicy.idleTimeoutSec: !ruby/object:Overrides::Terraform::PropertyOverride
default_from_api: true
RegionInstanceGroupManager: !ruby/object:Overrides::Terraform::ResourceOverride
exclude: true
BackendServiceSignedUrlKey: !ruby/object:Overrides::Terraform::ResourceOverride
Expand Down

This file was deleted.

0 comments on commit 2e54775

Please sign in to comment.