RFC 9731: A YANG Data Model for Virtual Network (VN) Operations
- Y. Lee, Ed.,
- D. Dhody, Ed.,
- D. Ceccarelli,
- I. Bryskin,
- B. Yoon
Abstract
A Virtual Network (VN) is a network provided by a service provider to a customer for the customer to use in any way it wants as though it were a physical network. This document provides a YANG data model generally applicable to any mode of VN operations. This includes VN operations as per the Abstraction and Control of TE Networks (ACTN) framework (RFC 8453).¶
Status of This Memo
This is an Internet Standards Track document.¶
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.¶
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
https://
Copyright Notice
Copyright (c) 2025 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://
1. Introduction
Abstraction and Control of TE Networks (ACTN) describes a set of management and control functions used to operate one or more Traffic Engineered (TE) networks to construct a Virtual Network (VN). A VN is represented to customers and is built from the abstractions of the underlying TE networks [RFC8453]. This document provides a YANG data model [RFC7950] generally applicable to any mode of VN operation. ACTN is the primary example of the usage of the VN YANG data model, but VN is not limited to it.¶
The VN model defined in this document is applicable in a generic sense as an independent model in and of itself. It can also work together with other customer service models such as the L3VPN Service Model (L3SM) [RFC8299], the L2VPN Service Model (L2SM) [RFC8466], and the L1 Connectivity Service Model (L1CSM) [L1CSM-YANG] to provide complete life-cycle service management and operations.¶
The YANG data model discussed in this document basically provides the following:¶
An abstract TE topology is a topology that contains abstract topological elements (nodes, links) created and customized based on customer preference [RFC8795]. The actual VN instantiation and computation is performed with connectivity matrices of the TE Topology model [RFC8795], which provides a TE network topology abstraction and management operation. As per [RFC8795], a TE node connectivity matrix is the TE node's switching limitations in the form of valid switching combinations of the TE node's LTPs and potential TE paths. The VN representation relies on a single abstract TE node with a connectivity matrix. The VN can be abstracted as a set of edge-to-edge links (a Type 1 VN). Each link is the VN member that is mapped to the connectivity matrix entry (Section 2.1). The VN can also be abstracted as a topology of virtual nodes and virtual links (a Type 2 VN). Alongside the mapping of VN members to a connectivity matrix entry, an underlay path can also be specified (Section 2.2).¶
Once the TE Topology model is used in triggering VN instantiation over the networks, the TE model [YANG-TE] will inevitably interact with the TE Topology model when setting up actual tunnels and Label Switched Paths (LSPs) under the tunnels.¶
Sections 2 and 3 provide a discussion of how the VN YANG data model is applicable to the ACTN context where a Virtual Network Service (VNS) operation is implemented for the interface of the Customer Network Controller (CNC) and the Multi-Domain Service Coordinator (MDSC).¶
The YANG data model for the CNC-MDSC Interface (CMI) is also known as the "customer service model" in [RFC8309]. The YANG data model discussed in this document is used to operate customer-driven VNs during the VN instantiation and computation as well as its life-cycle service management and operations.¶
The VN operational state is included in the same tree as the configuration consistent with Network Management Datastore Architecture (NMDA) [RFC8342].¶
1.1. Terminology and Conventions
This document borrows the following abbreviations from [RFC8453] and/or [RFC8795]:¶
- VN:
- Virtual Network¶
- AP:
- Access Point¶
- VNAP:
- VN Access Point¶
- ACTN:
- Abstraction and Control of TE Networks¶
- CNC:
- Customer Network Controller¶
- MDSC:
- Multi-Domain Service Coordinator¶
- CMI:
- CNC-MDSC Interface¶
- LTP:
- Link Termination Point¶
This document borrows the terminology in Section 1.1 of [RFC7926], the term "Service Model" from [RFC8309], and the term "Connectivity Matrix" from [RFC8795].¶
Various examples in this document contain long lines that may be folded, as described in [RFC8792].¶
1.2. Tree Diagram
A simplified graphical representation of the data model is used in Section 5 of this document. The meaning of the symbols in these diagrams is defined in [RFC8340].¶
1.3. Prefixes in Data Node Names
In this document, the names of data nodes and other data model objects are prefixed using the standard prefix associated with the corresponding YANG imported modules as shown in Table 1.¶
2. Use Case of VN YANG Data Model in the ACTN Context
In this section, ACTN is being used to illustrate the general usage of the VN YANG data model. The model presented in this section has the following ACTN context.¶
Both ACTN VN and TE Topology YANG data models are used over the CMI to establish a VN over TE networks, as shown in Figure 1.¶
2.1. Type 1 VN
As defined in [RFC8453], a VN is a customer view of the TE network. To recapitulate VN types from [RFC8453], a Type 1 VN is defined as follows:¶
The VN can be seen as a set of edge-to-edge abstract links (a Type 1 VN). Each abstract link is referred to as a VN member and is formed as an end-to-end tunnel across the underlying networks. Such tunnels may be constructed by recursive slicing or abstraction of paths in the underlying networks and can encompass edge points of the customer's network, access links, intra-domain paths, and inter-domain links.¶
If we were to create a VN where we have four VN members as follows:¶
Where L1, L2, L3, L4, L7, and L8 correspond to a Customer Endpoint (or AP).¶
This VN can be modeled as one abstract node representation as follows in Figure 3:¶
Modeling a VN as one abstract node is the easiest way for customers to express their end-to-end connectivity as shown in Figure 3.¶
2.2. Type 2 VN
For some VN members, the customers are allowed to configure the intended path. To achieve this, alongside the single node abstract topology, an underlay topology is also needed. The underlay topology could be native TE topology or an abstract TE topology. The intended path is set based on the nodes and links of the underlay topology. A Type 1 VN can be viewed as a higher-level abstraction of a Type 2 VN, which represents a single node abstract topology over the underlay topology and includes a mechanism to specify intended paths. These topologies could be mutually agreed upon between the CNC and the MDSC prior to VN creation or they could be created as part of VN instantiation.¶
If a Type 2 VN is desired for some or all of the VN members of a Type 1 VN (see the example in Section 2.1), the TE Topology model can provide the following abstract topologies (a single node topology AN1 and an underlay topology (with nodes S1 to S11 and corresponding links)).¶
As shown in Figure 4, the abstract node is AN1 and an underlay topology is depicted with nodes and links (S1 to S11).¶
As an example, if VN member 1 (L1-L4) is chosen to configure its own path over Type 2 topology, it can select, say, a path that consists of the explicit path {S3,S4,S5} based on the underlay topology and its service requirement. This capability is enacted via TE-topology configuration by the customer.¶
3. High-Level Control Flows with Examples
3.1. Type 1 VN Illustration
If this VN is Type 1, the following diagram shows the message flow between CNC and MDSC to instantiate this VN using VN and TE Topology YANG data models.¶
3.2. Type 2 VN Illustration
For some VN members, the customer may want to "configure" an explicit path that connects its two endpoints. Let us consider the following example:¶
There are two options depending on whether CNC or MDSC creates the single abstract node topology.¶
Case 1:¶
If the CNC creates the single abstract node topology, the message flow between the CNC and MDSC to instantiate this VN using a VN and TE Topology YANG data model would be as shown in the following diagram:¶
Case 2:¶
On the other hand, if MDSC create the single abstract node topology based on VN YANG posted by the CNC, the following diagram shows the message flow between CNC and MDSC to instantiate this VN using VN and TE Topology YANG data models.¶
Note that the underlay topology (which is referred to by the single abstract node topology) could be a Native/White topology or a Grey topology ([RFC8453]) that is further customized based on the requirements of the customer and configured at the MDSC.¶
Appendix B provides JSON examples for both the VN model and the TE Topology Connectivity Matrix sub-model to illustrate how a VN can be created by the CNC making use of the VN model as well as the TE Topology Connectivity Matrix module.¶
3.2.1. VN and AP Usage
The customer access information may be known at the time of VN creation. A shared logical AP identifier is used between the customer and the operator to identify the access link between Customer Edge (CE) and Provider Edge (PE). This is described in Section 6 of [RFC8453].¶
In some VN operations, the customer access may not be known at the initial VN creation. The VN operation allows the creation of a VN with only a PE identifier. The customer access information could be added later.¶
To achieve this, the 'ap' container has a leaf for the 'pe' node that allows the AP to be created with PE information. The VN member (and VN) could use APs that initially only have PE information.¶
4. VN YANG Data Model Usage
4.1. Customer View of VN
The VN YANG data model allows the definition of a customer view and allows the customer to communicate using the VN constructs as described in [RFC8454]. It allows the grouping of edge-to-edge links (i.e., VN members) under a common umbrella of VN. This allows the customer to instantiate and view the VN as one entity, making it easier for some customers to work on VN without worrying about the details of the provider-based YANG data models.¶
This is similar to the benefits offered by a separate YANG data model for customer services described in [RFC8309], which states that service models do not make any assumptions about how a service is actually engineered and delivered for a customer.¶
4.2. Auto-creation of VN by MDSC
The VN could be configured at the MDSC explicitly by the CNC using the VN YANG data model. In some other cases, the VN is not explicitly configured but is instead created automatically by the MDSC based on the customer service model and local policy; even in these cases, the VN YANG data model can be used by the CNC to learn details of the underlying VN, created to meet the requirements of the customer service model.¶
4.3. Innovative Services
4.3.1. VN Compute
The VN model supports VN compute
The VN compute RPC allows the optional inclusion of the constraints and the optimization criteria at the VN as well as at the individual VN-member level. Thus, the RPC can be used independently to get the computed VN result without creating an abstract topology first.¶
Regardless of whether the TE Topology model is referenced, the RPC output includes a reference to the single node
abstract topology with each VN member including a
reference to the connectivity
To achieve this, the VN compute RPC reuses the following common groupings:¶
When MDSC receives this RPC, it computes the VN based on the input provided in the RPC. This computation does not create a VN or reserve any resources in the system, it simply computes the resulting VN based on information at the MDSC or in coordination with the CNC. A single node abstract topology is used to convey the result of each VN member as a reference to the connectivity
4.3.2. Multiple Sources and Multiple Destinations
In creating a VN, the list of sources or destinations
or both may not be predetermined by the customer. For instance, for
a given source, there may be a list of multiple destinations to
which the optimal destination may be chosen depending on the network
resource situations. Likewise, for a given destination, there may
also be multiple sources from which the optimal source may be
chosen. In some cases, there may be a pool of multiple sources and
destinations from which the optimal source
4.4. Others
The VN YANG data model can easily be augmented to support the mapping of
VN to the services such as L3SM and L2SM as described in [TE
The VN YANG data model can be extended to support telemetry, performance monitoring, and network autonomics as described in [TEAS-ACTN-PM].¶
Note that the VN YANG data model is tightly coupled with the TE Topology model [RFC8795]. Any underlay technology not supported by the TE Topology model in [RFC8795] is also not supported by the VN model. However, the VN model does include an empty container called "underlay" that can be augmented. For example, the Segment Routing (SR) Policy [RFC9256] information can be augmented for the SR underlay by a future model.¶
Apart from the te
6. VN YANG Data Model
The VN YANG data model is as follows:¶
7. Security Considerations
The YANG module specified in this document defines a 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
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.¶
The model presented in this document is used in the interface between the CNC and MDSC, which is referred to as CNC-MDSC Interface (CMI). Security risks, such as malicious attack and rogue elements attempting to connect to the various ACTN components, are possible. Furthermore, some ACTN components (e.g., MDSC) represent a single point of failure and threat vector. Also, there is a need to manage policy conflicts and eavesdropping on communication between different ACTN components.¶
There are a number of data nodes defined in this YANG module that are
writable
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. These are the subtrees and data
nodes and their sensitivity
Some of the RPC operations in this YANG module may be considered
sensitive or vulnerable in some network environments. It is thus
important to control access to these operations. These are the
operations and their sensitivity
8. IANA Considerations
IANA has made the following allocation for a URI in the "ns" registry within the "IETF XML Registry" registry group [RFC3688]:¶
- URI:
- urn
:ietf :params :xml :ns :yang :ietf -vn¶ - Registrant Contact:
- The IESG.¶
- XML:
- N/A, the requested URI is an XML namespace.¶
IANA has made the following allocation for the VN YANG data model (see Section 5 in the "YANG Module Names" registry [RFC6020]:¶
9. References
9.1. Normative References
- [RFC3688]
-
Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, DOI 10
.17487 , , <https:///RFC3688 www >..rfc -editor .org /info /rfc3688 - [RFC4124]
-
Le Faucheur, F., Ed., "Protocol Extensions for Support of Diffserv-aware MPLS Traffic Engineering", RFC 4124, DOI 10
.17487 , , <https:///RFC4124 www >..rfc -editor .org /info /rfc4124 - [RFC6020]
-
Bjorklund, M., Ed., "YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)", RFC 6020, DOI 10
.17487 , , <https:///RFC6020 www >..rfc -editor .org /info /rfc6020 - [RFC6241]
-
Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., and A. Bierman, Ed., "Network Configuration Protocol (NETCONF)", RFC 6241, DOI 10
.17487 , , <https:///RFC6241 www >..rfc -editor .org /info /rfc6241 - [RFC6242]
-
Wasserman, M., "Using the NETCONF Protocol over Secure Shell (SSH)", RFC 6242, DOI 10
.17487 , , <https:///RFC6242 www >..rfc -editor .org /info /rfc6242 - [RFC6991]
-
Schoenwaelder, J., Ed., "Common YANG Data Types", RFC 6991, DOI 10
.17487 , , <https:///RFC6991 www >..rfc -editor .org /info /rfc6991 - [RFC7950]
-
Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", RFC 7950, DOI 10
.17487 , , <https:///RFC7950 www >..rfc -editor .org /info /rfc7950 - [RFC8040]
-
Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF Protocol", RFC 8040, DOI 10
.17487 , , <https:///RFC8040 www >..rfc -editor .org /info /rfc8040 - [RFC8340]
-
Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", BCP 215, RFC 8340, DOI 10
.17487 , , <https:///RFC8340 www >..rfc -editor .org /info /rfc8340 - [RFC8341]
-
Bierman, A. and M. Bjorklund, "Network Configuration Access Control Model", STD 91, RFC 8341, DOI 10
.17487 , , <https:///RFC8341 www >..rfc -editor .org /info /rfc8341 - [RFC8342]
-
Bjorklund, M., Schoenwaelder, J., Shafer, P., Watsen, K., and R. Wilton, "Network Management Datastore Architecture (NMDA)", RFC 8342, DOI 10
.17487 , , <https:///RFC8342 www >..rfc -editor .org /info /rfc8342 - [RFC8345]
-
Clemm, A., Medved, J., Varga, R., Bahadur, N., Ananthakrishnan, H., and X. Liu, "A YANG Data Model for Network Topologies", RFC 8345, DOI 10
.17487 , , <https:///RFC8345 www >..rfc -editor .org /info /rfc8345 - [RFC8446]
-
Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10
.17487 , , <https:///RFC8446 www >..rfc -editor .org /info /rfc8446 - [RFC8776]
-
Saad, T., Gandhi, R., Liu, X., Beeram, V., and I. Bryskin, "Common YANG Data Types for Traffic Engineering", RFC 8776, DOI 10
.17487 , , <https:///RFC8776 www >..rfc -editor .org /info /rfc8776 - [RFC8795]
-
Liu, X., Bryskin, I., Beeram, V., Saad, T., Shah, H., and O. Gonzalez de Dios, "YANG Data Model for Traffic Engineering (TE) Topologies", RFC 8795, DOI 10
.17487 , , <https:///RFC8795 www >..rfc -editor .org /info /rfc8795
9.2. Informative References
- [L1CSM-YANG]
-
Lee, Y., Lee, K., Zheng, H., Gonzalez de Dios, O., and D. Ceccarelli, "A YANG Data Model for L1 Connectivity Service Model (L1CSM)", Work in Progress, Internet-Draft, draft
-ietf , , <https://-ccamp -l1csm -yang -26 datatracker >..ietf .org /doc /html /draft -ietf -ccamp -l1csm -yang -26 - [RFC7926]
-
Farrel, A., Ed., Drake, J., Bitar, N., Swallow, G., Ceccarelli, D., and X. Zhang, "Problem Statement and Architecture for Information Exchange between Interconnected Traffic
-Engineered Networks" , BCP 206, RFC 7926, DOI 10.17487 , , <https:///RFC7926 www >..rfc -editor .org /info /rfc7926 - [RFC8299]
-
Wu, Q., Ed., Litkowski, S., Tomotaki, L., and K. Ogaki, "YANG Data Model for L3VPN Service Delivery", RFC 8299, DOI 10
.17487 , , <https:///RFC8299 www >..rfc -editor .org /info /rfc8299 - [RFC8309]
-
Wu, Q., Liu, W., and A. Farrel, "Service Models Explained", RFC 8309, DOI 10
.17487 , , <https:///RFC8309 www >..rfc -editor .org /info /rfc8309 - [RFC8453]
-
Ceccarelli, D., Ed. and Y. Lee, Ed., "Framework for Abstraction and Control of TE Networks (ACTN)", RFC 8453, DOI 10
.17487 , , <https:///RFC8453 www >..rfc -editor .org /info /rfc8453 - [RFC8454]
-
Lee, Y., Belotti, S., Dhody, D., Ceccarelli, D., and B. Yoon, "Information Model for Abstraction and Control of TE Networks (ACTN)", RFC 8454, DOI 10
.17487 , , <https:///RFC8454 www >..rfc -editor .org /info /rfc8454 - [RFC8466]
-
Wen, B., Fioccola, G., Ed., Xie, C., and L. Jalil, "A YANG Data Model for Layer 2 Virtual Private Network (L2VPN) Service Delivery", RFC 8466, DOI 10
.17487 , , <https:///RFC8466 www >..rfc -editor .org /info /rfc8466 - [RFC8792]
-
Watsen, K., Auerswald, E., Farrel, A., and Q. Wu, "Handling Long Lines in Content of Internet-Drafts and RFCs", RFC 8792, DOI 10
.17487 , , <https:///RFC8792 www >..rfc -editor .org /info /rfc8792 - [RFC9256]
-
Filsfils, C., Talaulikar, K., Ed., Voyer, D., Bogdanov, A., and P. Mattes, "Segment Routing Policy Architecture", RFC 9256, DOI 10
.17487 , , <https:///RFC9256 www >..rfc -editor .org /info /rfc9256 - [TE
-SERVICE -MAPPING] -
Lee, Y., Dhody, D., Fioccola, G., Wu, Q., Ceccarelli, D., and J. Tantsura, "Traffic Engineering (TE) and Service Mapping YANG Data Model", Work in Progress, Internet-Draft, draft
-ietf , , <https://-teas -te -service -mapping -yang -17 datatracker >..ietf .org /doc /html /draft -ietf -teas -te -service -mapping -yang -17 - [TEAS-ACTN-PM]
-
Lee, Y., Dhody, D., Vilalta, R., King, D., and D. Ceccarelli, "YANG models for Virtual Network (VN)/TE Performance Monitoring Telemetry and Scaling Intent Autonomics", Work in Progress, Internet-Draft, draft
-ietf , , <https://-teas -actn -pm -telemetry -autonomics -14 datatracker >..ietf .org /doc /html /draft -ietf -teas -actn -pm -telemetry -autonomics -14 - [YANG-TE]
-
Saad, T., Gandhi, R., Liu, X., Beeram, V. P., and I. Bryskin, "A YANG Data Model for Traffic Engineering Tunnels, Label Switched Paths and Interfaces", Work in Progress, Internet-Draft, draft
-ietf , , <https://-teas -yang -te -37 datatracker >..ietf .org /doc /html /draft -ietf -teas -yang -te -37
Appendix A. Performance Constraints
At the creation of a VN, it is natural to provide VN-level constraints and optimization criteria. It should be noted that the VN YANG data model described in this document relies on the TE Topology model in [RFC8795] by using a reference to an abstract node to provide VN-level constraints and optimization criteria. Further, the connectivity
Note that the VN compute allows the inclusion of the constraints and the optimization criteria directly in the RPC to allow it to be used independently.¶
Appendix B. JSON Example
B.1. VN JSON
This section provides JSON examples of how the VN YANG data model and TE Topology YANG data model are used together to instantiate a VN.¶
The example in this section includes the following VNs:¶
Note that the VN YANG data model also includes the AP and VNAP, which shows various VNs using the same AP.¶
B.2. TE Topology JSON
This section provides JSON examples of the various TE topology instances.¶
The example in this section includes the following TE Topologies:¶
Acknowledgments
The authors would like to thank Xufeng Liu, Adrian Farrel, Tom Petch, Mohamed Boucadair, Italo Busi, Bo Wu, and Daniel King for their helpful comments and valuable suggestions.¶
Thanks to:¶