Skip to main content

validate_multipath_consistency

Function validate_multipath_consistency 

Source
pub fn validate_multipath_consistency(
    shared: &UseSitePath,
    overrides: &[(u8, UseSitePath)],
) -> Result<(), Error>
Expand description

Validate that all multipaths in shared default + overrides share the same alt-count.

Per spec ยง7, when multiple UseSitePath entries (the shared default plus any per-@N overrides) carry a multipath group, all groups MUST have the same number of alternatives.