hash_policy.envoy

Simplest configuration:

[hash_policy#0]
type = envoy
svcmgr -s <svcname> set --kw hash_policy#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.