The controller MUST always define administrative-group alias UNICAST-DRAINED group 1 in the router traffic-engineering block on all devices when enabled: true. This is a system constant — not derived from any TopologyInfo PDA.
Every include-any flex-algo definition MUST include exclude 1 (the UNICAST-DRAINED bit) unconditionally. This is structural — not conditional on any link being drained.
When link.unicast_drained = true, the controller appends UNICAST-DRAINED to the interface's traffic-engineering administrative-group alongside permanent topology tags. When false, only permanent topology tags are rendered.
Milestone: RFC-18: Controller — Topology Config
RFC: #3288
Files affected:
controlplane/controller/internal/controller/ (device templates)
Size: Small
Tests:
UNICAST-DRAINED group 1 alias always present in router traffic-engineering when enabled: true, regardless of drain state
exclude 1 always present in all include-any flex-algo definitions
- Link with
unicast_drained = true and link_topologies[0] = UNICAST-DEFAULT produces traffic-engineering administrative-group UNICAST-DEFAULT UNICAST-DRAINED
- Link with
unicast_drained = false produces only permanent topology tags
- Permanent topology tags never modified when drain state changes
Blockers: #3351 (IS-IS TE templates)
The controller MUST always define
administrative-group alias UNICAST-DRAINED group 1in therouter traffic-engineeringblock on all devices whenenabled: true. This is a system constant — not derived from anyTopologyInfoPDA.Every
include-anyflex-algo definition MUST includeexclude 1(the UNICAST-DRAINED bit) unconditionally. This is structural — not conditional on any link being drained.When
link.unicast_drained = true, the controller appendsUNICAST-DRAINEDto the interface'straffic-engineering administrative-groupalongside permanent topology tags. Whenfalse, only permanent topology tags are rendered.Milestone: RFC-18: Controller — Topology Config
RFC: #3288
Files affected:
controlplane/controller/internal/controller/(device templates)Size: Small
Tests:
UNICAST-DRAINED group 1alias always present inrouter traffic-engineeringwhenenabled: true, regardless of drain stateexclude 1always present in allinclude-anyflex-algo definitionsunicast_drained = trueandlink_topologies[0] = UNICAST-DEFAULTproducestraffic-engineering administrative-group UNICAST-DEFAULT UNICAST-DRAINEDunicast_drained = falseproduces only permanent topology tagsBlockers: #3351 (IS-IS TE templates)