|
|
@ -199,9 +199,18 @@ message ForwardAction { |
|
|
|
google.protobuf.BoolValue include_vh_rate_limits = 13; |
|
|
|
google.protobuf.BoolValue include_vh_rate_limits = 13; |
|
|
|
|
|
|
|
|
|
|
|
message HashPolicy { |
|
|
|
message HashPolicy { |
|
|
|
string header_name = 1; |
|
|
|
// [V2-API-DIFF] We expect additional hash policies in the future, e.g. |
|
|
|
// Do we want to extend this for additional session affinity inputs? |
|
|
|
// cookie based, originating IP, etc. |
|
|
|
// [V2-API-DIFF] |
|
|
|
message Header { |
|
|
|
|
|
|
|
// The name of the request header that will be used to obtain the hash |
|
|
|
|
|
|
|
// key. If the request header is not present, the load balancer will use a |
|
|
|
|
|
|
|
// random number as the hash, effectively making the load balancing policy |
|
|
|
|
|
|
|
// random. |
|
|
|
|
|
|
|
string header_name = 1; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
oneof policy_specifier { |
|
|
|
|
|
|
|
Header header = 1; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
repeated HashPolicy hash_policy = 14; |
|
|
|
repeated HashPolicy hash_policy = 14; |
|
|
|
} |
|
|
|
} |
|
|
|