1. Introduction (简介)
BGP Color-Aware Routing (BGP CAR) 是一种基于 BGP 的 routing solution, 用于在 multi-domain service provider transport network 中建立 end-to-end intent-aware path. BGP CAR 为同一 destination endpoint 分发不同 color 的 route. Color 是与 intent 关联的非零 32-bit integer, 例如 low-cost, low-latency, avoid certain resources 或 5G network slice.
本文档定义两个新的 BGP SAFI: BGP CAR SAFI (83) 和 VPN CAR SAFI (84). 二者用于携带 infrastructure route, 建立 transport path. CAR SAFI 和 VPN CAR SAFI 适用于 IPv4 Unicast 和 IPv6 Unicast AFI.
BGP CAR Type-1 NLRI (E, C) 支持为同一 destination IP prefix 按不同 color 发布多个 color-aware route. 这适用于 PE 使用同一 loopback address 作为 service route 的 BGP next hop 和 transport endpoint, 但又需要按 intent 建立不同 path 的场景.
BGP CAR Type-2 NLRI (IP prefix or E) 支持为每个 intent 分配唯一 IP prefix 或 address. 典型场景是 SRv6 per-intent locator.
Ingress node 使用这些 BGP CAR intent-aware path 对带有特定 color 的 service route 做 steering. BGP CAR 沿用 BGP-IP 和 BGP-LU 的 flat routing model, 并扩展为支持 intent-awareness, 使运维体验与现有 transport routing 技术一致.
1.1 Terminology (术语)
- Intent: 影响 routing 或 path selection 的行为, 例如拓扑路径选择, NFV service insertion 或 per-hop behavior.
- Color: 与 intent 关联的非零 32-bit integer.
- Colored service route: 携带 BGP Color Extended Community 或由 SRv6 Service SID locator 表达 intent 的 service route.
- Color-aware path
(E, C): 到 endpoint E 且满足 color C 对应 intent 的 path. - Color-aware route
(E, C): 用于构建上述 path 的分发 route. - Color domain: 共享同一 color-to-intent mapping 的节点集合.
- Resolution: 将 inter-domain BGP CAR route 映射到 intra-domain color-aware path.
- Steering: 将 service route 的流量映射到 BGP CAR path 或其他 color-aware path.
常用缩写包括 ABR, AFI, AIGP, ASBR, BGP-LU, BGP-IP, Color-EC, LCM-EC, NLRI, RD, RR, SAFI, TEA, SR-MPLS 和 SRv6.
1.2 Illustration (示意)
BGP CAR 可让 E1 对来自 E2 的不同 service route 按 color 自动 steering. 例如 V/v 携带 C1 并映射到 low-latency path, W/w 携带 C2 并映射到 low-latency plus avoid-resource path. 不同 domain 可使用 IGP Flexible Algorithm, SR Policy 或 BGP CAR 共同提供 end-to-end color-aware path.
1.3 Requirements Language (需求语言)
本文中的 MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY 和 OPTIONAL 按 BCP 14 解释.