Implement ShouldStamp helper covering the all / tenants / devices / exclude hierarchy from features.yaml. Used in route-map template to determine whether to stamp a given tenant on a given device.
Milestone: RFC-18: Controller — Community Stamping
RFC: #3288
Files affected:
controlplane/controller/internal/controller/ (ShouldStamp helper, config struct)
Size: Medium
Tests:
all: true stamps all tenants on all devices
- Per-tenant override respected
- Per-device override respected
- Exclude list takes precedence over
all and tenants
Blockers: #3353 (route-map color community template)
Implement
ShouldStamphelper covering theall/tenants/devices/excludehierarchy fromfeatures.yaml. Used in route-map template to determine whether to stamp a given tenant on a given device.Milestone: RFC-18: Controller — Community Stamping
RFC: #3288
Files affected:
controlplane/controller/internal/controller/(ShouldStamp helper, config struct)Size: Medium
Tests:
all: truestamps all tenants on all devicesallandtenantsBlockers: #3353 (route-map color community template)