|avi.pool.chash ( string )
|Sets the string value that the consistent hash load-balancing algorithm hashes on to choose a server within the selected pool
|The string value must be specified, and can be created in any manner.
|No return value
|If there is a header by the name "custom-hash" in a request, then use its value as input to the Consistent Hash with Custom Data load-balancing algorithm to select a server out of the pool named "pool-of-servers." The pool should be configured to have its load-balancing algorithm set to Consistent Hash on Custom Data.
hash = avi.http.get_header("custom-hash")
if hash then