Internet-Draft | AC Glue for VPN Models | June 2024 |
Boucadair, et al. | Expires 12 December 2024 | [Page] |
The document specifies a module that updates existing service (i.e., the Layer 2 Service Model (L2SM) and the Layer 3 Service Model (L3SM)) and network (i.e., the Layer 2 Network Model (L2NM) and the Layer 3 Network Model (L3NM)) Virtual Private Network (VPN) modules with the required information to bind specific VPN services to Attachment Circuits (ACs) that are created using the AC service ("ietf-ac-svc") and network ("ietf-ac-ntw") models.¶
This note is to be removed before publishing as an RFC.¶
Discussion of this document takes place on the Operations and Management Area Working Group Working Group mailing list (opsawg@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/opsawg/.¶
Source for this draft and an issue tracker can be found at https://github.com/boucadair/attachment-circuit-model.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 12 December 2024.¶
Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The document specifies a YANG module ("ietf-ac-glue", Section 6) that updates existing service and network Virtual Private Network (VPN) modules with the required information to bind specific services to Attachment Circuits (ACs) that are created using the AC service model [I-D.ietf-opsawg-teas-attachment-circuit]. Specifically, the following modules are augmented:¶
Likewise, the document augments the L2NM and L3NM with references to the ACs that are managed using the AC network model [I-D.ietf-opsawg-ntw-attachment-circuit].¶
The YANG data model in this document conforms to the Network Management Datastore Architecture (NMDA) defined in [RFC8342].¶
An example to illustrate the use of the "ietf-ac-glue" model is provided in Appendix A.¶
Note to the RFC Editor: This section is to be removed prior to publication.¶
This document contains placeholder values that need to be replaced with finalized values at the time of publication. This note summarizes all of the substitutions that are needed.¶
Please apply the following replacements:¶
XXXX --> the assigned RFC number for this I-D¶
SSSS --> the assigned RFC number for [I-D.ietf-opsawg-teas-attachment-circuit]¶
NNNN --> the assigned RFC number for [I-D.ietf-opsawg-ntw-attachment-circuit]¶
2023-11-13 --> the actual date of the publication of this document¶
The meanings of the symbols in the YANG tree diagrams are defined in [RFC8340].¶
This document uses terms defined in [I-D.ietf-opsawg-teas-attachment-circuit].¶
LxSM refers to both the L2SM and the L3SM.¶
LxNM refers to both the L2NM and the L3NM.¶
The following terms are used in the modules prefixes:¶
The names of data nodes are prefixed using the prefix associated with the corresponding imported YANG module as shown in Table 1:¶
Figure 1 depicts the relationship between the various AC data models:¶
"ietf-ac-common" ([I-D.ietf-opsawg-teas-common-ac])¶
"ietf-bearer-svc" (Section 5.1 of [I-D.ietf-opsawg-teas-attachment-circuit])¶
"ietf-ac-svc" (Section 5.2 of [I-D.ietf-opsawg-teas-attachment-circuit])¶
"ietf-ac-ntw" ([I-D.ietf-opsawg-ntw-attachment-circuit])¶
"ietf-ac-common" is imported by "ietf-bearer-svc", "ietf-ac-svc", and "ietf-ac-ntw". Bearers managed using "ietf-bearer-svc" may be referenced in the service ACs managed using "ietf-ac-svc". Similarly, a bearer managed using "ietf-bearer-svc" may list the set of ACs that use that bearer. In order to ease correlation between an AC service request and the actual AC provisioned in the network, "ietf-ac-ntw" uses the AC references exposed by "ietf-ac-svc". To bind Layer 2 VPN or Layer 3 VPN services with ACs, "ietf-ac-glue" augments the LxSM and LxNM with AC service references exposed by "ietf-ac-svc" and AC network references exposed by "ietf-ac-ntw".¶
Figure 2 depicts two target topology flavors that involve ACs. These topologies have the following characteristics:¶
A Customer Edge (CE) can be either a physical device or a logical entity. Such logical entity is typically a software component (e.g., a virtual service function that is hosted within the provider's network or a third-party infrastructure). A CE is seen by the network as a peer Service Attachment Point (SAP) [RFC9408].¶
CEs may be either dedicated to one single connectivity service or host multiple connectivity services (e.g., CEs with roles of service functions [RFC7665]).¶
A network provider may bind a single AC to one or multiple peer SAPs (e.g., CE1 and CE2 are tagged as peer SAPs for the same AC). For example, and as discussed in [RFC4364], multiple CEs can be attached to a PE over the same attachment circuit. This scenario is typically implemented when the Layer 2 infrastructure between the CE and the network is a multipoint service.¶
A single CE may terminate multiple ACs, which can be associated with the same bearer or distinct bearers (e.g., CE4).¶
Customers may request protection schemes in which the ACs associated with their endpoints are terminated by the same PE (e.g., CE3), distinct PEs (e.g., CE4), etc. The network provider uses this request to decide where to terminate the AC in the service provider network and also whether to enable specific capabilities (e.g., Virtual Router Redundancy Protocol (VRRP)).¶
The procedure to provision a service in a service provider network may depend on the practices adopted by a service provider. This includes the flow put in place for the provisioning of advanced network services and how they are bound to an attachment circuit. For example, a single attachment circuit may be used to host multiple connectivity services (e.g., Layer 2 VPN ("ietf-l2vpn-svc"), Layer 3 VPN ("ietf-l3vpn-svc"), Network Slice Service ("ietf-network-slice-service")). In order to avoid service interference and redundant information in various locations, a service provider may expose an interface to manage ACs network-wide using [I-D.ietf-opsawg-teas-attachment-circuit]. Customers can request a bearer ("ietf-bearer-svc") or an attachment circuit ("ietf-ac-svc") to be put in place, and then refer to that bearer or AC when requesting VPN services that are bound to the bearer or AC ("ietf-ac-glue").¶
Also, internal references ("ietf-ac-ntw") used within a service provider network to implement ACs can be used by network controllers to glue the L2NM ("ietf-l2vpn-ntw") or the L3NM ("ietf-l3vpn-ntw") services with relevant ACs.¶
Figure 3 shows the positioning of the AC models in the overall service delivery process.¶
[RFC8299] specifies that a 'site-network-access' attachment is achieved through a 'bearer' with an 'ip-connection' on top. From that standpoint, a 'site-network-access' is mapped to an attachment circuit with both Layers 2 and 3 properties as per [I-D.ietf-opsawg-teas-attachment-circuit]. [RFC8466] specifies that a 'site-network-access' represents a logical Layer 2 connection to a site. A 'site-network-access' can thus be mapped to an attachment circuit with Layer 2 properties [I-D.ietf-opsawg-teas-attachment-circuit]. Similarly, 'vpn-network-access' defined in both [RFC9182] and [RFC9291] is mapped to an attachment circuit as per [I-D.ietf-opsawg-teas-attachment-circuit] or [I-D.ietf-opsawg-ntw-attachment-circuit].¶
As such, ACs created using the "ietf-ac-svc" module [I-D.ietf-opsawg-teas-attachment-circuit] can be referenced in other VPN-related modules (e.g., L2SM, L3SM, L2NM, and L3NM). Also, ACs managed using the "ietf-ac-ntw" module [I-D.ietf-opsawg-ntw-attachment-circuit] can be referenced in VPN-related network modules (mainly, the L2NM and the L3NM). The required augmentations to that aim are shown in Figure 4.¶
When an AC is referenced within a specific network access, then that AC information takes precedence over any overlapping information that is also enclosed for this network access.¶
This approach is consistent with the design in [I-D.ietf-teas-ietf-network-slice-nbi-yang] where an AC service reference, called 'ac-svc-name', is used to indicate the names of AC services. As per [I-D.ietf-teas-ietf-network-slice-nbi-yang], when both 'ac-svc-name' and the attributes of 'attachment-circuits' are defined, the 'ac-svc-name' takes precedence.¶
The "ietf-ac-glue" module includes provisions to reference ACs within or outside a VPN network access to accommodate deployment contexts where an AC reference may be created before or after a VPN instance is created. Appendix A.1 illustrates how an AC reference can be included as part of a specific VPN network access, while Appendix A.2 shows how AC references can be indicated outside individual VPN network access entries.¶
This modules augments the L2SM [RFC8466], the L3SM [RFC8299], the L2NM [RFC9291], and the L3NM [RFC9182].¶
This module uses references defined in [I-D.ietf-opsawg-teas-attachment-circuit] and [I-D.ietf-opsawg-ntw-attachment-circuit].¶
<CODE BEGINS> file "ietf-ac-glue@2023-11-13.yang" module ietf-ac-glue { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-ac-glue"; prefix ac-glue; import ietf-l3vpn-svc { prefix l3vpn-svc; reference "RFC 8299: YANG Data Model for L3VPN Service Delivery"; } import ietf-l2vpn-svc { prefix l2vpn-svc; reference "RFC 8466: A YANG Data Model for Layer 2 Virtual Private Network (L2VPN) Service Delivery"; } import ietf-l3vpn-ntw { prefix l3nm; reference "RFC 9182: A YANG Network Data Model for Layer 3 VPNs"; } import ietf-l2vpn-ntw { prefix l2nm; reference "RFC 9291: A YANG Network Data Model for Layer 2 VPNs"; } import ietf-ac-svc { prefix ac-svc; reference "RFC SSSS: YANG Data Models for Bearers and 'Attachment Circuits'-as-a-Service (ACaaS)"; } import ietf-ac-ntw { prefix ac-ntw; reference "RFC NNNN: A Network YANG Data Model for Attachment Circuits"; } organization "IETF OPSAWG (Operations and Management Area Working Group)"; contact "WG Web: <https://datatracker.ietf.org/wg/opsawg/> WG List: <mailto:opsawg@ietf.org> Editor: Mohamed Boucadair <mailto:mohamed.boucadair@orange.com> Author: Richard Roberts <mailto:rroberts@juniper.net> Author: Samier Barguil <mailto:ssamier.barguil_giraldo@nokia.com> Author: Oscar Gonzalez de Dios <mailto:oscar.gonzalezdedios@telefonica.com>"; description "This YANG module defines a YANG model for augmenting the LxSM and the LxNM with attachment circuit references. Copyright (c) 2024 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; revision 2023-11-13 { description "Initial revision."; reference "RFC XXXX: A YANG Data Model for Augmenting VPN Service and Network Models with Attachment Circuits"; } feature ac-glue { description "The VPN implementation supports binding a specific VPN network access or site access to an attachment circuit."; } grouping single-ac-svc-ref { description "A grouping with single reference to a service AC."; leaf ac-svc-ref { type ac-svc:attachment-circuit-reference; description "A reference to the AC as exposed at the service that was provisioned using the ACaaS module."; } } grouping single-ac-svc-ntw-ref { description "A grouping with single AC references."; leaf ac-svc-ref { type ac-svc:attachment-circuit-reference; description "A reference to the AC as exposed at the service that was provisioned using the ACaaS module."; } container ac-ntw-ref { description "A reference to the AC that was provisioned using the AC network module."; uses ac-ntw:attachment-circuit-reference; } } grouping ac-svc-ref { description "A set of service-specific AC-related data."; leaf-list ac-svc-ref { type ac-svc:attachment-circuit-reference; description "A reference to the AC as exposed at the service that was provisioned using the ACaaS module."; } } grouping ac-svc-ntw-ref { description "A set of AC-related data."; leaf-list ac-svc-ref { type ac-svc:attachment-circuit-reference; description "A reference to the AC as exposed at the service that was provisioned using the ACaaS module."; } list ac-ntw-ref { key "ac-ref"; description "A reference to the AC that was provisioned using the AC network module."; uses ac-ntw:attachment-circuit-reference; } } augment "/l2vpn-svc:l2vpn-svc" + "/l2vpn-svc:sites/l2vpn-svc:site" + "/l2vpn-svc:site-network-accesses" { description "Augments VPN site network accesses with AC provisioning details. Concretely, it binds a site to a set of attachment circuits with Layer 2 properties that were created using the ACaaS module."; uses ac-svc-ref; } augment "/l2vpn-svc:l2vpn-svc" + "/l2vpn-svc:sites/l2vpn-svc:site" + "/l2vpn-svc:site-network-accesses" + "/l2vpn-svc:site-network-access" { if-feature "ac-glue"; description "Augments VPN site network access with AC provisioning details. Concretely, it glues a 'site-network-access' to an attachment circuit with Layer 2 properties that was created using the ACaaS module. The ACaaS information takes precedence over any overlapping information that is also provided for a site network access."; uses single-ac-svc-ref; } augment "/l3vpn-svc:l3vpn-svc" + "/l3vpn-svc:sites/l3vpn-svc:site" + "/l3vpn-svc:site-network-accesses" { description "Augments VPN site network accesses with AC provisioning details. Concretely, it binds a site to a set of attachment circuits with both Layers 2 and 3 properties that were created using the ACaaS module."; uses ac-svc-ref; } augment "/l3vpn-svc:l3vpn-svc" + "/l3vpn-svc:sites/l3vpn-svc:site" + "/l3vpn-svc:site-network-accesses" + "/l3vpn-svc:site-network-access" { if-feature "ac-glue"; description "Augments VPN site network access with AC provisioning details. Concretely, it glues a 'site-network-access' to an attachment circuit with both Layer 2 and Layer 3 properties that was created using the ACaaS module. The ACaaS information takes precedence over any overlapping information that is also provided for a site network access."; uses single-ac-svc-ref; } augment "/l2nm:l2vpn-ntw/l2nm:vpn-services/l2nm:vpn-service" + "/l2nm:vpn-nodes/l2nm:vpn-node" + "/l2nm:vpn-network-accesses" { description "Augments VPN network accesses with both service and network AC provisioning details. Concretely, it binds a site to (1) a set of attachment circuits with Layer 2 properties that were created using the ACaaS module and (2) a set of attachment circuits with Layer 2 properties that were provisioned using the AC network model."; uses ac-svc-ntw-ref; } augment "/l2nm:l2vpn-ntw/l2nm:vpn-services/l2nm:vpn-service" + "/l2nm:vpn-nodes/l2nm:vpn-node" + "/l2nm:vpn-network-accesses" + "/l2nm:vpn-network-access" { if-feature "ac-glue"; description "Augments VPN network access with service and network references to an AC. Concretely, it glues a VPN network access to (1) an attachment circuit with Layer 2 properties that was created using the ACaaS module and (2) an attachment circuit with Layer 2 properties that was created using the AC network module. The AC service and network information takes precedence over any overlapping information that is also provided for a VPN network access."; uses single-ac-svc-ntw-ref; } augment "/l3nm:l3vpn-ntw/l3nm:vpn-services/l3nm:vpn-service" + "/l3nm:vpn-nodes/l3nm:vpn-node" + "/l3nm:vpn-network-accesses" { description "Augments VPN network accesses with both service and network AC provisioning details. Concretely, it binds a site to (1) a set of attachment circuits with both Layer 2 and Layer 3 properties that were created using the ACaaS module and (2) a set of attachment circuits with both Layer 2 and Layer 3 properties that were provisioned using the AC network model."; uses ac-svc-ntw-ref; } augment "/l3nm:l3vpn-ntw/l3nm:vpn-services/l3nm:vpn-service" + "/l3nm:vpn-nodes/l3nm:vpn-node" + "/l3nm:vpn-network-accesses" + "/l3nm:vpn-network-access" { if-feature "ac-glue"; description "Augments VPN network access with service and network references to an AC. Concretely, it glues a VPN network access to (1) an attachment circuit with both Layer 2 and Layer 3 properties that was created using the ACaaS module and (2) an attachment circuit with both Layer 2 and Layer 3 properties that was created using the AC network module. The AC service and network information takes precedence over any overlapping information that is also provided for a VPN network access."; uses single-ac-svc-ntw-ref; } } <CODE ENDS>¶
This section uses the template described in Section 3.7 of [I-D.ietf-netmod-rfc8407bis].¶
The YANG module specified in this document defines schema for data that is designed to be accessed via network management protocols such as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer is the secure transport layer, and the mandatory-to-implement secure transport is Secure Shell (SSH) [RFC6242]. The lowest RESTCONF layer is HTTPS, and the mandatory-to-implement secure transport is TLS [RFC8446].¶
The Network Configuration Access Control Model (NACM) [RFC8341] provides the means to restrict access for particular NETCONF or RESTCONF users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content.¶
There are a number of data nodes defined in this YANG module that are writable/creatable/deletable (i.e., config true, which is the default). These data nodes may be considered sensitive or vulnerable in some network environments. Write operations (e.g., edit-config) and delete operations to these data nodes without proper protection or authentication can have a negative effect on network operations. Specifically, the following subtrees and data nodes have particular sensitivities/vulnerabilities:¶
An attacker who is able to access network nodes can undertake various attacks, such as deleting a running VPN service, interrupting all the traffic of a client. Specifically, an attacker may modify (including delete) the ACs that are bound to a running service, leading to malfunctioning of the service and therefore to Service Level Agreement (SLA) violations. : Such activity can be detected by adequately monitoring and tracking network configuration changes.¶
Some of the readable data nodes in this YANG module may be considered sensitive or vulnerable in some network environments. It is thus important to control read access (e.g., via get, get-config, or notification) to these data nodes. Specifically, the following subtrees and data nodes have particular sensitivities/vulnerabilities:¶
These references do not expose per se privacy-related information, however 'ac-svc-ref' may be used to track the set of VPN instances in which a given customer is involved.¶
Note that, unlike 'ac-svc-ref', 'ac-ntw-ref' is unique within the scope of a node and may multiplex many peer CEs.¶
IANA is requested to register the following URI in the "ns" subregistry within the "IETF XML Registry" [RFC3688]:¶
URI: urn:ietf:params:xml:ns:yang:ietf-ac-glue Registrant Contact: The IESG. XML: N/A; the requested URI is an XML namespace.¶
IANA is requested to register the following YANG module in the "YANG Module Names" registry [RFC6020] within the "YANG Parameters" registry group:¶
Name: ietf-ac-glue Namespace: urn:ietf:params:xml:ns:yang:ietf-ac-glue Prefix: ac-glue Maintained by IANA? N Reference: RFC XXXX¶
Let us consider the example depicted in Figure 5 which is inspired from Section 2.1 of [RFC4664]. Each PE is servicing two CEs. Let us also assume that the service references to identify attachment circuits with these CEs are shown in the figure.¶
As shown in Figure 6, the service AC references can be explicitly indicated in the L2NM query for the realization of the Virtual Private Wire Service (VPWS) Section 3.1.1 of [RFC4664]).¶
Let us consider the example depicted in Figure 7 with two customer terminating points (CE1 and CE2). Let us also assume that the bearers to attach these CEs to the service provider network are already in place. References to identify these bearers are shown in the figure.¶
The AC service model [I-D.ietf-opsawg-teas-attachment-circuit] can be used by the provider to manage and expose the ACs over existing bearers as shown in Figure 8.¶
Let us now consider that the customer wants to request a VPLS instance between the sites as shown in Figure 9.¶
To that aim, existing ACs are referenced during the creation of the VPLS instance using the L2NM [RFC9291] and the "ietf-ac-glue" as shown in Figure 10.¶
Note that before implementing the VPLS instance creation request, the provider service orchestrator may first check if the VPLS service can be provided to the customer using the target delivery locations. The orchestrator uses the SAP model [RFC9408] as exemplified in Figure 11. This example assumes that the query concerns only PE1. A similar query can be issued for PE2.¶
The response in Figure 11 indicates that the VPLS service can be delivered to CE1. [I-D.ietf-opsawg-ntw-attachment-circuit] can be also used to access AC-related details that are bound to the target SAP (Figure 12).¶
The provisioned AC at PE1 can be retrieved using the AC network model [I-D.ietf-opsawg-ntw-attachment-circuit] as depicted in Figure 13.¶
Thanks to Bo Wu and Qin Wu for the review and comments.¶
Thanks to Martin Björklund for the yangdoctors review and Gyan Mishra for the rtg-dir review.¶
Thanks to Mahesh Jethanandani for the AD review.¶