A single explicit allow rule. There are no deny rules: absence of a match is the deny.

interface AllowRule {
    allowedSourceIds?: readonly string[];
    cls: TrafficClass;
    description: string;
    destinationRoles: readonly DeviceRole[];
    id: string;
    initiators: readonly Initiator[];
    ops: readonly string[];
    rate: RateSpec;
    requireExplicitSource?: boolean;
    sourceRoles: readonly DeviceRole[];
    window?: TimeWindow;
}

Properties

allowedSourceIds?: readonly string[]
description: string
destinationRoles: readonly DeviceRole[]
id: string
initiators: readonly Initiator[]
ops: readonly string[]
rate: RateSpec

Token bucket shaping for flows admitted by this rule.

requireExplicitSource?: boolean

When true, the source must also appear in allowedSourceIds.

sourceRoles: readonly DeviceRole[]
window?: TimeWindow