GET /api2/tm/rulesets/$/config viewer
PUT /api2/tm/rulesets/$/config user
PUT /api2/tm/rulesets/$/config accepts an optional ?dry_run=true query parameter. With the flag set, the handler runs all the same checks as the non-dry-run call but does not persist to the DAO and does not push to the network module. Returns 200 {} on success; error responses (status code and body) are identical to the non-dry-run call.
{
"lb_strategy":"flow_hash/round_robin",
"lb_hash_mask":
{
"vid_hash":bool,
"l3_src":bool,
"l3_dst":bool,
"l4_src":bool,
"l4_dst":bool
},
"cut_through":bool,
"filter_setting": "filter_ipv6/filter_mpls"
}On XX-family devices the traffic-management hardware is fixed. PUT returns a validation error if lb_strategy is not flow_hash, if any lb_hash_mask flag is not true (or the mask is null), if cut_through is not false, or if filter_setting is not filter_ipv6.