Hash
9 min
\<font color="#1d50a2">urls summary\</font> url get post patch put delete /rest/v1/running/hash y n y n n /rest/v1/running/hash/hash fields/{pkt type} y y y y y \<font color="#1d50a2">examples\</font> \<font color="#1d50a2">modify hash configuration \</font> patch https //{switch ip}/rest/v1/running/hash {"seed" 100} \<font color="#1d50a2">remove seed configuration \</font> patch https //{switch ip}/rest/v1/running/hash {"seed" null} \<font color="#1d50a2">create some hash fields \</font> post https //{switch ip}/rest/v1/running/hash/hash fields \[{"pkt type" "non ip", "ecmp hash" \["src mac", "dst mac", "dst ip"]}] \<font color="#1d50a2">replace some hash fields \</font> put rest/v1/running/hash/hash fields/non ip {"pkt type" "non ip", "ecmp hash" \["src mac", "dst mac"]} \<font color="#1d50a2">delete a hash field \</font> delete https //{switch ip}/rest/v1/running/hash/hash fields/non ip \<font color="#1d50a2">properties descriptions\</font> \<font color="#1d50a2">hash configuration\</font> tree diagrams + rw hash + rw hash fields \[pkt type] \| + rw pkt type \| + rw ecmp hash + rw seed? + rw enhancement? {cmn\ platform innovium}? table of properties name required type/range description hash m path only node, has no configurable value hash fields m (sub property of hash) path only node, has no configurable value pkt type m "non ip" "ipv4" "ipv6" (sub property of hash fields) ecmp hash o "in port" "dst mac" "src mac" "ethertype" "vlan id" "ip protocol" "dst ip" "src ip" "l4 dst port" "l4 src port" "ipv6 flow label" (sub property of hash fields) hash fields for hashing packets going through ecmp seed o 0 4294967295 (sub property of hash) the value to set hash seed cannot be enabled at the same time as hash enhancement default value 10 enhancement o "true" "false" (sub property of hash) hash enhancement function cannot be enabled at the same time as hash seed only applicable when platform is innovium default value "false"
