rfc-9834

YANG Data Models for Bearers and Attachment Circuits as a Service (ACaaS)

M. Boucadair (Editor), R. Roberts (Editor), O. Gonzalez de Dios, S. Barguil, B. Wu
date2025-09 streamIETF areaops wgopsawg statusPROPOSED STANDARD pages150 canonicalhttps://www.rfc-editor.org/rfc/rfc9834 doi10.17487/RFC9834
Delivery of network services assumes that appropriate setup is provisioned over the links that connect customer termination points and a provider network. The required setup to allow successful data exchange over these links is referred to as an attachment circuit (AC), while the underlying link is referred to as a "bearer". This document specifies a YANG service data model for ACs. This model can be used for the provisioning of ACs before or during service provisioning (e.g., RFC 9543 Network Slice Service). The document also specifies a YANG service data model for managing bearers over which ACs are established.

Extracted elements (30)

design-rationale §1.1

AC management is fully decoupled from higher-level service provisioning (e.g., VPN, network slice). This allows AC technology upgrades (new encryption schemes, routing protocols) to be made in one place rather than in each service model that uses ACs.

yang

design-rationale §5.2.1

Groupings reusable across both the AC service model and the AC network model are placed in the shared 'ietf-ac-common' module (RFC 9833), while groupings reusable only among service models are kept in 'ietf-ac-svc'. This minimizes duplication and keeps service-layer and network-layer concerns separate.

yang

design-rationale §1.2.1

The L2SM (RFC 8466) was rejected as the ACaaS reference model because it is primarily focused on Layer 2 aspects and does not cover Layer 3 provisioning, which is required for typical AC instantiation.

yang, vpn

design-rationale §1.2.2

The L3SM (RFC 8299) was rejected because it does not sufficiently address Layer 2 provisioning, is limited to conventional L3VPN deployments, and does not support multiple BGP peer groups over a single AC — a common requirement in cloud and interconnection scenarios.

yang, vpn, bgp

interoperability-note §3

The 'ietf-ac-glue' module (RFC 9836) augments both the L2SM and L3SM to bind LxVPN services to ACs, referencing AC identifiers from 'ietf-ac-svc' and AC network references from 'ietf-ac-ntw'. The 'ietf-ac-ntw' module (RFC 9835) exposes the node-specific attachment interface details that the service model hides.

yang, vpn

interoperability-note §1.1

The YANG data models conform to the Network Management Datastore Architecture (NMDA) defined in RFC 8342, ensuring compatibility with NMDA-aware management systems. The models can be used independently of NETCONF/RESTCONF, consistent with RFC 8969.

yang, netconf

normative-requirement §5.2.5 MUST NOT

A Child AC MAY rely upon more than one Parent AC; however, in such cases these parent ACs MUST NOT be overlapping. An example use case is a Child AC with separate L2 and L3 parent ACs.

yang

normative-requirement §5.2.5.3.2 SHOULD

An AC service activation with BGP routing SHOULD include at least the customer's ASN and the provider's ASN, enabling automated provisioning of BGP sessions without requiring manual exchange of configuration parameters.

yang, bgp

normative-requirement §5.2.5.2 MUST

For ACs requiring Layer 3 tunnel establishment, augmentations to 'l3-tunnel-service' MUST be conditional based on the tunnel type ('type') node to ensure correct conditional model structure.

yang

normative-requirement §5.1 MUST NOT

The 'admin-status' attribute MUST NOT be influenced by the current operational state ('oper-status'). Administrative state represents deliberate operator intent and must remain independent of observed operational conditions.

yang

normative-requirement §5.2.2.2 SHOULD

The typedefs defined for each service/specific profile type and for AC references SHOULD be used when other YANG modules need to reference these profiles or ACs, to ensure consistent cross-model referencing.

yang

normative-requirement §5.2.5 MUST

Whenever a Parent AC is deleted, all its Child ACs MUST be deleted to maintain referential integrity in hierarchical AC configurations.

yang

protocol-element §5.1

A bearer reference is a read-only, server-assigned string ('bearer-reference') that uniquely identifies a bearer within the provider network. Customers retrieve this reference and include it in AC service requests to unambiguously bind an AC to a specific bearer.

yang

protocol-element §5.2.5.3.4

IS-IS routing support provides address-family, area-address, and authentication (key chain or explicit key/algorithm). RIP support includes address-family (determining whether RIPv2, RIPng, or both are enabled), authentication, and status. Both protocols support admin and operational status tracking.

yang, routing

protocol-element §5.2.5.3.3

OSPF routing support includes address-family, area-id (yang:dotted-quad), metric, sham-link support (for shared-area backdoor-link scenarios per RFC 4577), authentication for OSPFv2 and OSPFv3 via key chain or explicit key/algorithm, and admin/oper status tracking.

yang, routing

protocol-element §5.2.4

Placement constraints in both 'ietf-bearer-svc' and 'ietf-ac-svc' allow specifying diversity requirements (e.g., avoid placing two ACs on the same PE). Constraint targets may be a named group, all other bearers/ACs, or all other groups, using the 'placement-diversity' feature from RFC 9181.

yang

protocol-element §5.2.2

Service provisioning profiles in 'ietf-ac-svc' define five reusable identifier types: encryption-profile, QoS-profile, failure-detection-profile, forwarding-profile, and routing-profile. These allow providers to maintain named policy bundles that can be referenced across multiple ACs.

yang, qos

protocol-element §5.2.3

The 'ac-group-profile' defines reusable parameter sets for groups of ACs, identified by 'name'. Data nodes set at the individual 'ac' level override group-profile values, enabling a hierarchical configuration pattern consistent with the bearer model's timing constraint override mechanism.

yang

protocol-element §5.2.5.3.2

The BGP routing structure supports peer groups and individual neighbors with per-entry configuration of local-AS, peer-AS, address-family (ipv4/ipv6/dual-stack), role (per RFC 9234), local-address, max-prefix, authentication (TCP-AO or MD5 via key chain), BFD failure-detection-profile, and per-neighbor timing constraints.

yang, bgp, routing

protocol-element §5.2

The 'ietf-ac-svc' YANG module manages attachment circuits as a service, covering L2 connection, IP addressing, routing protocols (static, BGP, OSPF, IS-IS, RIP, VRRP), OAM/BFD, security, and service profiles. The PE-to-AC mapping is intentionally hidden from this service model and maintained internally by network controllers.

yang, netconf, routing

protocol-element §5.1

The 'ietf-bearer-svc' YANG module manages bearers — physical or logical links connecting customer termination points to a provider network. It exposes bearer lifecycle, admin/oper status with timestamps, placement constraints, physical synchronization (SyncE), parent/child LAG relationships, and a server-assigned bearer reference used in subsequent AC requests.

yang, netconf

protocol-element §5.2.5.2

The 'ip-connection' container configures IPv4 and IPv6 addressing for an AC, supporting static address lists, dynamic allocation (number-based or explicit pool ranges), provider DHCP, DHCP relay with customer server addresses, and a 'l3-tunnel-service' placeholder for future tunnel augmentations.

yang, ip

protocol-element §5.2.5.1

The 'l2-connection' container configures Layer 2 AC properties: encapsulation type (dot1q with cvlan-id, QinQ with svlan-id/cvlan-id, priority-tagged), L2 tunnel services (pseudowire with vcid/far-end, VPLS, VXLAN with vni-id/peer-mode/peer-ip-address), L2VPN binding, and a bearer reference.

yang, vpn

protocol-element §5.2.5.4

The 'oam' container defines BFD sessions per AC, each identified by an 'id' and supporting local-address, remote-address, a reference to a failure-detection-profile, and a holdtime (uint32).

yang

protocol-element §5.2.5

The parent/child AC relationship enables a stable Parent AC to anchor dynamic Child ACs via 'parent-ref' and 'child-ref' nodes. A Child AC may reference multiple Parent ACs (e.g., separate L2 and L3 parents), and the 'server-reference' read-only node returns a provider-assigned internal identifier for each AC.

yang

protocol-element §5.2.5.3.6

VRRP (RFC 9568) is modeled as a routing protocol on an AC with address-family and status. No authentication node is included because RFC 9568 Section 9 defines no current VRRP authentication mechanism.

yang, routing

registry §8

IANA registers two YANG modules — 'ietf-bearer-svc' and 'ietf-ac-svc' — in the IETF XML Registry (RFC 3688) and the YANG Module Names registry (RFC 6020), with namespace URIs under urn:ietf:params:xml:ns:yang:.

yang, registry

security-consideration §5.2.5.3.2

BGP session authentication in the model supports TCP Authentication Option (TCP-AO per RFC 5925) and MD5 via key chains (RFC 8177), consistent with RFC 4364 Section 13.2. TCP-AO key chains should cover SendID and RecvID beyond the RFC 8177 baseline.

yang, bgp, security

security-consideration §5.2.5.3.3

OSPF, IS-IS, and RIP routing instances each include an 'authentication' container supporting key chain references or explicit key/algorithm specification. This ensures PE-CE routing sessions for ACs can be cryptographically authenticated regardless of the IGP used.

yang, routing, security

security-consideration §7

The YANG modules use 'ietf-netconf-acm' (NACM, RFC 8341) for access control. Write access to bearer and AC provisioning data must be restricted to authorized administrators, as unauthorized modifications could disrupt network connectivity for all services delivered over affected bearers or ACs.

yang, security