hashpolicy.envoy

Simplest configuration:

[hashpolicy#0]
type = envoy
svcmgr -s <svcname> set --kw hashpolicy#0.type=envoy

connection_source_ip

scopable

False

required

False

provisioning

False

default

None

inheritance

leaf > head

scope order

specific > generic

Hash on source IP address.

header_header_name

scopable

False

required

False

provisioning

False

default

None

inheritance

leaf > head

scope order

specific > generic

The name of the request header that will be used to obtain the hash key. If the request header is not present, no hash will be produced.

terminal

scopable

False

required

False

provisioning

False

default

None

inheritance

leaf > head

scope order

specific > generic

convert

boolean

Shortcircuits the hash computing. This field provides a fallback style of configuration: if a terminal policy doesn’t work, fallback to rest of the policy list. It saves time when the terminal policy works.

comment

scopable

False

required

False

provisioning

False

default

inheritance

leaf > head

scope order

specific > generic

Helps users understand the role of the service and resources, which is nice to on-call support people having to operate on a service they are not usually responsible for.