RESTAPI Manual
Layer 3
Hash
9 min
urls summary urls summary 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 examples examples modify hash configuration modify hash configuration patch https //{switch ip}/rest/v1/running/hash {"seed" 100} remove seed configuration remove seed configuration patch https //{switch ip}/rest/v1/running/hash {"seed" null} create some hash fields create some hash fields post https //{switch ip}/rest/v1/running/hash/hash fields \[{"pkt type" "non ip", "ecmp hash" \["src mac", "dst mac", "dst ip"]}] replace some hash fields replace some hash fields put rest/v1/running/hash/hash fields/non ip {"pkt type" "non ip", "ecmp hash" \["src mac", "dst mac"]} delete a hash field delete a hash field delete https //{switch ip}/rest/v1/running/hash/hash fields/non ip properties descriptions properties descriptions hash configuration hash configuration 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"
