NMOP O. Havel Internet-Draft B. Claise Intended status: Informational Huawei Expires: 6 January 2025 O. G. D. Dios Telefonica A. Elhassany T. Graf Swisscom 5 July 2024 Modeling the Digital Map based on RFC 8345: Sharing Experience and Perspectives draft-havel-nmop-digital-map-01 Abstract This document shares experience in modelling Digital Map based on the IETF RFC 8345 topology YANG modules and some of its augmentations. The document identifies a set of open issues encountered during the modelling phases, the missing features in RFC 8345, and some perspectives on how to address them. For definition of Digital Map concepts, requirements and use cases please refer to the "Digital Map: Concept, Requirements, and Use Cases" document. Discussion Venues This note is to be removed before publishing as an RFC. Source for this draft and an issue tracker can be found at https://github.com/OlgaHuawei. Status of This Memo 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 6 January 2025. Havel, et al. Expires 6 January 2025 [Page 1] Internet-Draft Digital Map Modelling July 2024 Copyright Notice 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. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 5 2. The IETF Network Topology Approaches . . . . . . . . . . . . 5 2.1. IETF Network Topology . . . . . . . . . . . . . . . . . . 5 2.2. IETF Network Topology TE . . . . . . . . . . . . . . . . 6 2.3. Why RFC8345 is a Good Approach for Digital Map Modelling . . . . . . . . . . . . . . . . . . . . . . . . 6 3. Digital Map Modelling Experience . . . . . . . . . . . . . . 7 3.1. What Is Not in The Base Model? . . . . . . . . . . . . . 7 3.1.1. Bidirectional Links (RFC8345-GAP-BIDIR) . . . . . . . 8 3.1.2. Multipoint Connectivity (RFC8345-GAP-MULTI-POINT) . . 9 3.1.3. Links Between Networks (RFC8345-GAP-MULTI-DOMAIN) . . 11 3.1.4. Networks Part of Other Networks (RFC8345-GAP-SUBNETWORK) . . . . . . . . . . . . . . 12 3.1.5. Nodes, tps and links in multiple networks (RFC8345-GAP-MULTI-NETWORK) . . . . . . . . . . . . . 13 3.1.6. Missing Supporting Relationships (RFC8345-GAP-SUPPORTING) . . . . . . . . . . . . . . 14 3.1.7. Missing Topology Semantics (RFC8345-GAP-SEMANTIC) . . 14 3.2. Open Issues (for Further Analysis or Resolved) . . . . . 16 4. RFC8345 Augmentation Analysis . . . . . . . . . . . . . . . . 17 4.1. Why Analysis? . . . . . . . . . . . . . . . . . . . . . . 17 4.2. What did we Analyse? . . . . . . . . . . . . . . . . . . 17 4.3. RFC8345 Augmentations that add Topology Semantics . . . . 18 4.4. Summary of RFC8345 Augmentation Analysis Results . . . . 19 4.4.1. Authors . . . . . . . . . . . . . . . . . . . . . . . 20 4.4.2. Functional Category . . . . . . . . . . . . . . . . . 20 4.4.3. Use Cases . . . . . . . . . . . . . . . . . . . . . . 21 4.4.4. Technology . . . . . . . . . . . . . . . . . . . . . 21 4.4.5. Network Types . . . . . . . . . . . . . . . . . . . . 22 4.4.6. Organization . . . . . . . . . . . . . . . . . . . . 23 4.4.7. Maturity Level . . . . . . . . . . . . . . . . . . . 23 Havel, et al. Expires 6 January 2025 [Page 2] Internet-Draft Digital Map Modelling July 2024 4.4.8. What Modules are Imported . . . . . . . . . . . . . . 23 4.4.9. Extension Categories . . . . . . . . . . . . . . . . 23 4.4.10. Topology Concepts . . . . . . . . . . . . . . . . . . 24 4.5. RFC8345 Augmentations Analysis Conclusion . . . . . . . . 24 5. Digital Map Modeling Guidelines . . . . . . . . . . . . . . . 24 5.1. Guidelines for Generic Digital Map Extensions . . . . . . 24 5.2. Guidelines for New Technologies/Layers Extensions . . . . 26 5.3. Guidelines for Digital Maps Connections to Other Components . . . . . . . . . . . . . . . . . . . . . . . 27 5.3.1. How to connect YANG models with other modelling mechanisms . . . . . . . . . . . . . . . . . . . . . 27 5.4. Digital Map APIs . . . . . . . . . . . . . . . . . . . . 27 5.5. Digital Map Knowledge . . . . . . . . . . . . . . . . . . 27 6. Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . 28 7. Security Considerations . . . . . . . . . . . . . . . . . . . 29 8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 29 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 29 9.1. Normative References . . . . . . . . . . . . . . . . . . 29 9.2. Informative References . . . . . . . . . . . . . . . . . 31 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 32 Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 32 1. Introduction [RFC8345] specifies a topology YANG model with many YANG augmentations for different technologies and service types. The modelling approach based upon [RFC8345] provides a standard IETF- based API. At the time of writing (2024) and according to the YANG catalog, there are at least 92 YANG modules that are augmenting [RFC8345]; 91 IETF-authored modules and 1 BBF-authored module. According to the YANG catalog, 19 of these modules have maturity level of 'ratified', 18 of them have maturity level of 'adopted', 27 modules have maturity level of 'latest-approved', and 28 of these modules have maturity level of 'initial'. The up-to-date information can be found in the YANG Catalog [Catalog]. From the set of IETF RFCs and I-Ds (at different level of maturity), we designed a Digital Map Proof of concept (PoC), with the following objectives and functionalities: * Can the central RFC 8345 YANG module be a good basis to model a Digital Map? Havel, et al. Expires 6 January 2025 [Page 3] Internet-Draft Digital Map Modelling July 2024 * How the different topology related IETF YANG modules fit (or not) together? * Modelling of Digital Map entities, relationships, and rules how to build aggregated entities and relationships. Does the base model support key requirements that emerge for a specific layer? * Modelling multiple underlay/overlay layers from Layer 2 to Layer 3 to customer service layer. To what extent it is easy to augment the base model to support new technologies? * Can the base model be augmented for any new layer and technologies? This memo documents an experience in the modeling aspects of the Digital Map, based on a PoC implementation, basically documenting the effort and the open issues encountered so far. During the PoC, we also identified a set of requirements and verified the PoC approach by demoing it iteratively. Practically, we developed a PoC with a real lab, based on multi- vendor devices, with [RFC8345] as the base YANG module. The PoC successfully modelled the following: * Layer 2 network topology (used [RFC8944]) * Layer 3 network topology (used [RFC8346]) * OSPF routing topology (aligned with [I-D.ogondio-opsawg-ospf- topology]) * IS-IS routing topology (aligned with [I-D.ogondio-opsawg-isis-topology]) * BGP routing topology * MPLS LDP * MPLS Traffic Engineering (TE) tunnels * SRv6 tunnels * L3VPN service Havel, et al. Expires 6 January 2025 [Page 4] Internet-Draft Digital Map Modelling July 2024 1.1. Terminology The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. Please refer to the "Digital Map: Concept, Requirements, and Use Cases" [I-D.havel-nmop-digital-map-concept] for the definition of the following terms used in this document: * Digital Twin * Topology * Topology layer * Digital Map * Digital Map modelling * Digital Map model * Digital Map data 2. The IETF Network Topology Approaches 2.1. IETF Network Topology [RFC8345] provides a simple generic topological model. It defines the abstract /generic /base model for network and service topologies. It provides the mechanism to model networks and services as layered topologies with common relationships at the same layer and underlay/ overlay relationships between the layers. [RFC8345] consists of two modules: 'ietf-network' and 'ietf-network- topology'. The 'ietf-network' module defines networks and nodes, while 'ietf-network-topology' module adds definitions for links and termination points. The relationships inside the layer are containment/aggregation (a network has nodes, a network has links, a node has termination points), source (a link has one source termination point) and destination (a link has one destination termination point). The relationships between the layers are modelled via supporting relationship: Havel, et al. Expires 6 January 2025 [Page 5] Internet-Draft Digital Map Modelling July 2024 * network A is supported by network B - this may model overlay/ underlay relationship * nodes, links and termination points of network A are supported by nodes, links and termination points of network B. Overlay and underlay nodes, links and termination points must match underlay and overlay networks supporting it 2.2. IETF Network Topology TE [RFC8795] defines a YANG model for representing, retrieving and manipulating traffic engineering (TE) topologies. This is a more complex model which augments [RFC8345] with TE topology information as follows: * TE nodes, links, and termination points are defined using the core RFC8345 concepts - TE topology augments 'ietf-network' with topology identifier (provider, client and topology id), as well as other 'TE' information - TE node augments 'node' with 'te-node-id' and other 'TE' information - TE link augments 'link' with 'TE' information - TE termination point augments termination point with 'te-tp-id' and 'TE' information * Tunnel, tunnel termination point, local link connectivity, node connectivity matrix, and some supporting and underlay relationships are defined outside of the core RFC 8345 entities and relationships 2.3. Why RFC8345 is a Good Approach for Digital Map Modelling The main reason for selecting RFC8345 for modelling is its simplicity and that is supports majority of the core requirements. Please refer to the "Digital Map: Concept, Requirements, and Use Cases" [I-D.havel-nmop-digital-map-concept] for more details of the core Digital Map requirements: The requirements REQ-BASIC-MODEL-SUPPORT, REQ-LAYERED-MODEL, REQ- PROG-OPEN-MODEL, REQ-STD-API-BASED, REQ-COMMON-APP, REQ-SEMANTIC, and REQ-LAYER-NAVIGATE are automatically fulfilled with RFC8345 and extensions: Havel, et al. Expires 6 January 2025 [Page 6] Internet-Draft Digital Map Modelling July 2024 * Basic model with network, node, link and interface entity types * Layered topology * Open and programmable * Standard, multi-vendor * Multi-domain * Semantics for layered topology * Inter-layer and between-layer relationships The requirements REQ-SEMANTIC for semantics and REQ-LAYER-NAVIGATE for layered topology and relationships are partially fulfilled, there may be need for some additional semantics. Other core requirements REQ-EXTENSIBLE, REQ-PLUGG and REQ-GRAPH- TRAVERSAL are not supported by [RFC8345]: * Extensible with metadata * Pluggable to other YANG modules and non-YANG data * Optimized for graph traversal In some cases, for REQ-PLUGG for pluggable to other YANG modules, the links are already done by augmenting 'ietf-network' and 'ietf- network- topology'. For others, we need to add some mechanisms to link the models and data. 3. Digital Map Modelling Experience 3.1. What Is Not in The Base Model? Based on some shared experience, the following are listed as set of candidate extensions to [RFC8345] for Digital Map modelling and APIs: RFC8345-GAP-BIDIR: An alternate approach to model bidirectional links RFC8345-GAP-MULTI-POINT: An alternate approach to multi-point connectivity RFC8345-GAP-MULTI-DOMAIN: Links between domains/networks RFC8345-GAP-SUBNETWORK: A network decomposition into sub-networks Havel, et al. Expires 6 January 2025 [Page 7] Internet-Draft Digital Map Modelling July 2024 RFC8345-GAP-MULTI-NETWORK: Nodes, links, and termination points belonging to different networks RFC8345-GAP-SUPPORTING: Supporting relationships between different types of entities RFC8345-GAP-SEMANTIC: More network topology related semantic is needed 3.1.1. Bidirectional Links (RFC8345-GAP-BIDIR) One of the core characteristics of any network topology is the link directionality. While data flows are unidirectional, the bidirectional links are also common in networking. Examples are Ethernet cables, bidirectional SONET rings, socket connection to the server, etc. We also encounter requirements for simplified service layer topology, where we want to model link as bidirectional to be supported by unidirectional links at the lower layer. [RFC8345] defines all links as unidirectional, it does not support bidirectional links. It was done intentionally to keep the model as simple as possible. While simplifying the model itself, the data and APIs are more complex for the cases with bidirectional links. In such cases, there is no need to increase the amount of instances / data transferred via API, stored in the database, or managed/ monitored by modeling unidirectional links. This document suggests to model the bidirectional connections as pairs of unidirectional links. [I-D.davis-opsawg-some-refinements-to-rfc8345] further elaborates on the need for bidirectional links in the network topologies and in the Digital Map. It also proposes how RFC8345 can be augmented to support missing components. The following are the candidate approaches of how we can address this limitation: * Use the current RFC8345 approach and implement it via multiple unidirectional links * Don't change RFC8345, leave to different augmentations to solve the problem their own way * Augment RFC8345 via basic approach as suggested in [I-D.davis-opsawg-some-refinements-to-rfc8345], fully backward compatible, appears simple and sufficient Havel, et al. Expires 6 January 2025 [Page 8] Internet-Draft Digital Map Modelling July 2024 * Augment RFC8345 via more sophisticated approach as suggested in [I-D.davis-opsawg-some-refinements-to-rfc8345], more complex but improves the integrity of the model, same instance structures produced * Consider RFC8345bis We suggest to start the work on RFC8345bis to provide the backward compatible way to support bidirectional links in the core topology model defined in ietf-network-topology. The starting point can be the basic approach from [I-D.davis-opsawg-some-refinements-to-rfc8345] that adds the following: * direction-of-link with value BIDIRECTIONAL * direction-of-point with value BIDIRECTIONAL * list of termination points that could be used for bidirectional links as an alternative to having source and destination for unidirectional (although we can also implement it via the existing source and destination when direction BIDIRECTIONAL) 3.1.2. Multipoint Connectivity (RFC8345-GAP-MULTI-POINT) The RFC8345 defines all links as point to point and unidirectional, it does not support multi-point links (hub and spoke, full mesh, complex). It was done intentionally to keep the model as simple as possible. The RFC suggests to model the multi-point networks via pseudo nodes. Same as with unidirectionality, while simplifying the model itself, we are making data and APIs more complex for multi point topologies and we are increasing the amount of data transferred via API, stored in the database or managed/monitored. One of the core characteristics of any network topology is its type and link cardinality. Any topology model should be able to model any topology type in a simple and explicit way, including point to multipoint, bus, ring, star, tree, mesh, hybrid and daisy chain. Any topology model should also be able to model any link cardinality in a simple and explicit way, including point to point, point to multipoint, multipoint to multipoint or hybrid. Havel, et al. Expires 6 January 2025 [Page 9] Internet-Draft Digital Map Modelling July 2024 By forcing the implementation of all topology types and all options for cardinality via unidirectional links and pseudo nodes, we are significantly increasing the complexity of APIs and data, but also lacking full topology semantics in the model. The model cannot be fully used to validate if topology instances are valid or not. Note that the point to multipoint network type is also required in some cases at the OSPF layer. [I-D.davis-opsawg-some-refinements-to-rfc8345] further elaborates on the need for multipoint connectivity in network topologies and in the Digital Map, in general. It also proposes how RFC8345 can be augmented to support these missing components. The following are the candidate approaches of how we can address this limitation: * Use the current RFC8345 and implement via virtual nodes * Don't change RFC8345, leave to different augmentations to solve the problem their own way (see how it is done in [RFC8795]) * Augment RFC8345 via basic approach as suggested in [I-D.davis-opsawg-some-refinements-to-rfc8345], fully backward compatible, appears simple and sufficient * Augment RFC8345 via more sophisticated approach as suggested in [I-D.davis-opsawg-some-refinements-to-rfc8345], more complex but improves the integrity of the model, same instance structures produced * Consider a RFC8345bis that provides backward compatible enhancement (similar to [I-D.davis-opsawg-some-refinements-to-rfc8345] approach without augmentations) We suggest to start to work on RFC8345bis to provide the backward compatible way to support multipoint connectivity in the core topology model defined in ietf-network-topology. The starting point can be the basic approach from [I-D.davis-opsawg-some-refinements-to-rfc8345] that adds the following: * list of termination points for multipoint links as an alternative to having source and destination for point to point links via the existing source and destination * role-of-point Havel, et al. Expires 6 January 2025 [Page 10] Internet-Draft Digital Map Modelling July 2024 * type-of-link 3.1.3. Links Between Networks (RFC8345-GAP-MULTI-DOMAIN) The RFC8345 defines all links as belonging to one network instance and having the source and destination as node and termination point only, not allowing to link to termination point of another network. This does not allow for links between networks in the case of multi- domains or partitioning. The only way would be to model each domain as node and have links between them. In our IS-IS PoC (following [I-D.ogondio-opsawg-isis-topology]), we modelled IS-IS areas as networks and we needed to extend the capability to have links between different areas. We added network reference as well to the source / destination of the link. [RFC8795] also augments links with external-domain info for the case of links that connect different domains. The IS-IS topology [I-D.ogondio-opsawg-isis-topology] models Autonomous System (AS) or IS-IS domain as a network, and IS-IS areas as attributes of IS-IS nodes. The RFC8345 extension can be used to model IS-IS areas as networks and IS-IS links between L1-2 nodes as links between two different areas. This is not problem for OSPF, although the OSPF nodes can belong to multiple areas, the links can belong to only one area. The following are some benefits of lifting the RFC 8345 limitations that all links must belong to only one network instance: * IS-IS processes would be grouped in an area via the standard IETF RFC8345 network->node relationship. * Applications and algorithms will consume topologies based on the generic entities and relationships, they will not need to understand the meaning of specific IS-IS attributes. * The approach would be aligned with the IS-IS topology model and the IS-IS network view in manuals and documentation. * Provide capability to link different IGP domains and links between them. * Link between multiple networks/sub-networks is the common concept in network topology. The following are the candidate approaches of how we can address this limitation: Havel, et al. Expires 6 January 2025 [Page 11] Internet-Draft Digital Map Modelling July 2024 * Use the current RFC8345 and implement domains via properties in augmentations * Don't change RFC8345, leave to different augmentations to solve the problem their own way (see how it is done in [RFC8795]) * Augment RFC8345 by adding some simple solution (e.g. move [RFC8795] approach for multi-domain to RFC8345 digital map) * Consider a RFC8345bis We suggest to start to work on RFC8345 bis to provide the backward compatible way to support links between networks in the core topology model defined in ietf-network-topology. The starting point can be to evaluate the approach from [RFC8795] that adds the external domain reference to the link via the external network, node and tp reference. 3.1.4. Networks Part of Other Networks (RFC8345-GAP-SUBNETWORK) RFC8345 does not model networks being part of other networks, therefore cannot model subnetworks and network partitioning. We encountered this problem with modelling IS-IS and OSPF domains and areas. The initial goal was to model AS/domain with multiple areas so that the Digital Map model contains information about how the AS is first split into different IGP domains and how each IGP domain is split into different areas. This is a common problem for both IS-IS and OSPF. The following are the candidate approaches of how we can address this limitation: * Leave it as it is in RFC8345, don't model AS and IS-IS/OSPF domain directly, they would be modelled via the underlying IP network and IS-IS/OSPF enabled routers. This could be achieved via supporting relationship to L3 network and L3 nodes * Leave it as it is in RFC8345, leave to different augmentations to solve the problem their own way * Leave it as it is in RFC8345, model AS, IGP domains and areas as networks and use supporting relationship to model the network topology design, with only areas having nodes. This does not describe the correct nature of the relationship, semantic is missing. * Augment RFC8345 by adding some simple solution to support additional partitioning relationship between networks. Havel, et al. Expires 6 January 2025 [Page 12] Internet-Draft Digital Map Modelling July 2024 * Consider a RFC8345bis We suggest to start to work on RFC8345 bis to provide the backward compatible way to support partitioning of networks in the core network model defined in ietf-network. The solution needs to add a part-of relation between different networks, where one network (e.g. OSPF Domain) can contain multiple networks (e.g. OSPF areas) 3.1.5. Nodes, tps and links in multiple networks (RFC8345-GAP-MULTI- NETWORK) RFC8345 does not allow nodes and TPs to belong to multiple areas without splitting them into separate entities with separate keys. In OSPF case, we have nodes that can belong to different areas, but interfaces can only belong to one area. In the case of IS-IS, although all tutorial are stating that nodes can belong to one area only, the IETF, openconfig and vendor yang models and CLI allow IS-IS processes with all its interfaces to belong to multiple areas. The following are the candidate approaches of how we can address this limitation: * Use the current RFC8345 approach, this is not the problem for read but may be an issue for write for simulation as we would expect that the interface lists in different nodes and networks be the same without being able to validate. * Augment RFC8345 to optionally allow nodes to be defined outside of network tree and enable reference as an alternative to the containment in the tree. This may be a bigger change to the network topology approach as it would have bigger impact on the topology tree. Nevertheless, it can be an optional approach so would be backward compatible for those augmentations that do not want to use it * Consider RFC8345 bis We suggest to work on RFC8345 bis to provide the simple backward compatible way to support both the current RFC8345 approach of creating multiple instances and the approach of sharing the instances. The solution needs further analysis as it has bigger impact on the topology tree than other enhancements. Havel, et al. Expires 6 January 2025 [Page 13] Internet-Draft Digital Map Modelling July 2024 3.1.6. Missing Supporting Relationships (RFC8345-GAP-SUPPORTING) RFC8345 defines supporting relationships only between the same type of entities. Networks can only be supported by networks, nodes can only be supported by nodes, termination points can only be supported by terminations points and links can only be supported by links. During the PoC, we had a scenario where at one layer of topology we had a link with TPs where the TPs are logical and did not have underlay TP, but the only underlay connection we were able to define was to underlay nodes. The same happened with nodes and networks. Therefore, we encountered the need to have TP supported by node and node supported by network. The RFC8795 also adds additional underlay relationship between node and topology and link and topology, but via a new underlay topology and not via the core supporting relationship. The following are the candidate approaches to address this limitation: * Use the current RFC8345 approach, leave to different augmentations to solve the problem their own way (see how it is done in [RFC8795]) * Augment RFC8345 by adding some simple solution (e.g. move [RFC8795] approach to RFC8345) * Consider RFC8345 bis that provides backward compatible enhancement (e.g. via [RFC8795] basic approach) We suggest to work on RFC8345 bis to provide the backward compatible way to add the missing supporting relationships: tp->supporting->node, node->supporting->network. 3.1.7. Missing Topology Semantics (RFC8345-GAP-SEMANTIC) Many augmentations add the additional topological semantics, with same concepts modelled in a different way in different augmentations. We already mentioned that some semantic is missing from the RFC8345 topology model, like bidirectional and multi-point. The following is also missing from the model: Havel, et al. Expires 6 January 2025 [Page 14] Internet-Draft Digital Map Modelling July 2024 * Relationship Properties. The supporting relationship could have additional attributes that give more information about the supporting relationship. That way we could use it for aggregation, underlay with primary/backup, load balancing, hop, sequence, etc. * Termination point roles. We are missing semantics for the common topology roles: uni, i-nni,e-nni, primary, backup, hub, spoke, * Node roles. We are missing semantics for the common node roles: access, core, metro * Link roles. We are missing semantics for the common link roles: uni, i-nni, e-nni * Layers / Sublayers. We need further analysis to determine in network types are sufficient to support all scenarios for layers/ sublayers. The network types are more related to technologies so in the case that the same technology is used at different layers, we may need some additional information in the model. For further study. * Tunnels and paths. We modelled tunnels and paths via [RFC8345] but we lost some semantics that is in [RFC8795]. * Node cross-connects. We did not need to model cross connect / connectivity metrices in the PoC. In the case it is needed, [RFC8345] does not provide the capability, semantics that is in [RFC8795]. For further study. * Supporting or underlay. We modelled all underlay relationships via supporting, further analysis is needed to determine pros and cons of this approach versus RFC8795 approach of using underlay topology. The following are the candidate approaches to address this limitation: * Use the current RFC8345 approach, leave to different augmentations to solve the problem their own way (see how it is done in [RFC8795]) * Augment RFC8345 by adding some simple solution (e.g. move [RFC8795] approach to RFC8345) * Consider RFC8345bis Havel, et al. Expires 6 January 2025 [Page 15] Internet-Draft Digital Map Modelling July 2024 We suggest to work on RFC8345 bis to provide the backward compatible way to add the minimum semantics that the community agrees is required for the core topology. We need to further investigate the [RFC8795] approach and evaluate if some parts could be moved to RFC8345. 3.2. Open Issues (for Further Analysis or Resolved) The following are the open issues that need further analysis or have been resolved: * Do we need separation of L2 and L3 topologies? During the PoC we encountered different solutions with separate set of requirements. In one solution, the L2 and L3 topology were the same with separate set of attributes, while in another solution we had difference in L2 and L3 topology (e.g. Links Aggregation, Switches and Routers). The RFC8944 defines L2 topology and RFC8346 defines the L3 topology. They allow to have either one or two instances of this topology. The decision if we need separate network instances for L2 and L3 topologies may be based on specific network topology and provider's preferences. Resolved: the RFC8345 is flexible and it can support both the same network instance with L2 + L3 augmentations or separate network instances with supporting relationship between. The operator should decide what option is needed for their solution. * Do we need sublayers as well? Layers versus sublayers versus layered instances? Resolved: Layers/sublayers could be implemented via multiple network types. The new data nodes for layer are present only when the network type for the layer is present. The new data nodes for the sublayer are present when the network types for both layer and sublayer are present. The solution could also enable either single or multiple instances, like in the previous point. Further analysis: In the case that the same technology is used at different layers, we may need some additional information in the model, in the case that it cannot be modelled via network types + supporting relations. Havel, et al. Expires 6 January 2025 [Page 16] Internet-Draft Digital Map Modelling July 2024 * Same technology at service versus underlay? BGP per VPN vs common BGP shared between multiple VPNs. Different layers, same model, relationship define the layer. Further analysis is needed. * There are potential circular dependencies in layering. For example routing can be underlay for tunnels, but tunnel interface can also be in the routing table. * Further analysis is needed. 4. RFC8345 Augmentation Analysis 4.1. Why Analysis? During our PoC, we decided to use the RFC8345 model and API for the layered topology from the physical to the top layer, accross the domains, without the need to understand any specific information about specific domain, technologies and details required for specific network management functions / use cases. We took the hat of application developer and used the software architecture guidelines to provide the right level of abstraction for topologies at the controller northbound interfaces. This means that the API client /application must understand and draw the topology from RFC8345 (as originally intended by this draft) without understanding all augmentations that add new topological entities / relations. After determining that the RFC8345 can provide the right level of abstraction for the layered topology (and be improved by addressing gaps via backward compatible way), we wanted to understand if different IETF RFC8345 augmentations add its own topology semantics and if they address any gaps we identified. 4.2. What did we Analyse? Our goal was to do some high level analysis of all the modules that augment the RFC8345 and understand the following 2 high level points: * What is the purpose of augmentation? - Is it augmenting topology for some identified topology gaps? - Is it augmenting topology for some specific functionality, like TE. Functional category TE, Technology Generic. Havel, et al. Expires 6 January 2025 [Page 17] Internet-Draft Digital Map Modelling July 2024 - Is it augmenting topology for some specific technology, like ISIS. Technology L3 ISIS - Is it augmenting to connect to some other modules, like Inventory, PM? * How it the augmented info added? - By adding the attributes, events, using the types, new relations (non-topological) no impact on topology. Layered topology can be understood / drawn using the RFC8345. - By adding the topological entities and topological relations – full impact on topology. Layered topology cannot be understood / drawn using the RFC8345. - By adding some additional topological semantics – partial impact on topology (e.g. hub / spoke). Layered topology can be understood/drawn but roles will not be understood. 4.3. RFC8345 Augmentations that add Topology Semantics The most important result of our analysis would be extension categories that add new topological entities and new topological relations. This means that we would not be able to use RFC8345 for understand/draw the layered topology. Examples: * RFC8795 [RFC8795]: - We have TE Topology and TE Nodes, LTPs, TE Links modelled using the abstract RFC8345 topology - we have tunnels and TTPs + underlay outside of abstract RFC8345 topology * RFC8542 [RFC8542]: - we have fabric network, fabric and fabric tps modelled using the abstract RFC8345 topology - we have device nodes, device links, device ports + relations between them modelled outside of the abstract RFC8345 topology This means that the API client /application cannot understand and draw the topology from RFC8345 (as originally intended by this draft) without understanding all augmentations that add new topological entities / relations. Havel, et al. Expires 6 January 2025 [Page 18] Internet-Draft Digital Map Modelling July 2024 4.4. Summary of RFC8345 Augmentation Analysis Results Our full analysis is on github and is still work in progress, waiting for different authors to confirm our conclusions. The full current analysis results can be found on https://github.com/ietf-wg- nmop/Misc/tree/main/Digital-Map-Analysis. We will present only the current summary of the RFC8345 Augmentation Analysis in this draft: * We started our analysis by identifying the 102 YANG modules, based on the info from the YANG catalog at the moment we started analysis. * We determined that out of those 102 YANG modules, 27 were deprecated * We determined that out of those 102 YANG modules, 23 were expired * We determined that out of those 102 YANG modules, 8 were Non-NMDA compliant * That left us with 44 modules to analyze, including the 2 RFC8345 modules * We then continued to identify the following about each of the modules, please see the subsequent sections for more details: - Authors - Functional Category - Use Cases (outstanding) - Technology - Network Types - Organization - Maturity Level - What modules are imported / augmented - Extensions Categories - What topology concepts they use or add Havel, et al. Expires 6 January 2025 [Page 19] Internet-Draft Digital Map Modelling July 2024 * We identified that out of 44 modules analyzed - 41 are importing ietf-network - 33 are importing ietf-network-topology - 12 are importing ietf-te-topology - there may be others using indirectly ietf-te-topology without importing the module, for example we identified that do it via import of ietf-te and te-types 4.4.1. Authors We identify authors and we added the column for them to add their comments if they aggree / disagree with our analysis, this is the work in progress. Our hope is that the authors would be able to review our analysis of their drafts / RFCs and verify our conclusions. We will also discuss with them specific reasons for their modelling decisions and hope to influence some changes based on the future modelling guidelines. 4.4.2. Functional Category We decided to use functional category to understand why the modules were added. We identified the following functional categories: * TOPOLOGY * TE * NETWORK SLICE * SERVICE * VN (Virtual Network) * TRANSPORT NETWORK CLIENT SERVICE * PM * INVENTORY * OAM * PROVISIONING Havel, et al. Expires 6 January 2025 [Page 20] Internet-Draft Digital Map Modelling July 2024 * MAP * INCIDENT * ENERGY * PARTITIONING 4.4.3. Use Cases We got recommendation to also identify what Use Cases are implemented by which Module. This is planned for the next version of the draft, to be filled in by Authors. 4.4.4. Technology We decided to use technology category to identify if the modules are generic or for specific technology. We identified the following technology categories: * GENERIC * L3 * ISIS * OSPF * FABRIC * WSON * SAP * PACKET * MPLS * ETHERNET * MICROWAVE * FLEXI-FRID * L3SR Havel, et al. Expires 6 January 2025 [Page 21] Internet-Draft Digital Map Modelling July 2024 * OPTICAL * OTN * FGNM 4.4.5. Network Types The module augmented RFC8345 with the following network types that could be used for layers / sublayers of the Digital Map: * l2-topology * l3-unicast-topology * te-topology * isis-topology * ospfv2-topology * fabric-network * te-topology * wson-topology * service * sap-network * l3-te * packet * mpls-topology * te-topology * eth-tran-topology * mw-topology * network-slice * network-inventory-mapping * nrp Havel, et al. Expires 6 January 2025 [Page 22] Internet-Draft Digital Map Modelling July 2024 * flexi-grid-topology * srv6 * optical-impairment-topology * otn-topology 4.4.6. Organization All except 1 module are IETF modules. Only the following modules has organization other than IETF: * BBF module: bbf-network-map 4.4.7. Maturity Level We initially used the maturity level from YANG Catalogue, but some modules have not been shown with the correct maturity level and there is outstanding review comment to correct this in the next version of the draft. 4.4.8. What Modules are Imported We identify what modules import one or more of the following modules: * ietf-network or ietf-network-state * ietf-network-topology or ietf-network-topology-state * ietf-te-topology or ietf-te-topology-state This would be useful for the future discussion in regards to some proposals by the TEAS team to use RFC8795 ietf-te-topology as the Digital Map core model and API. 4.4.9. Extension Categories This is the most important part of our analysis, what has been added and how. We identified the following categories: * New attributes * New events * New non-topological relations Havel, et al. Expires 6 January 2025 [Page 23] Internet-Draft Digital Map Modelling July 2024 * New topological entities (list of entities needed for clarification) * New topological relations (list of relations needed for clarification) * New topological semantics on top of the core mode (e.g. roles hub/ spoke, primary backup, ..) (list of semantic needed for clarification) * New sublayers (info) 4.4.10. Topology Concepts For each of the modules we added some information about what topological concepts were important for each of the modules and which ones are reuse of the core one and which ones are the new once. 4.5. RFC8345 Augmentations Analysis Conclusion We determined after the analysis that we need to start working on the guidelines to create a Digital Map. The RFC8345 augmentations are not consistent, which makes it very hard to deploy the multi-layer digital map. 5. Digital Map Modeling Guidelines 5.1. Guidelines for Generic Digital Map Extensions Generic Digital Map extensions are the RFC8345 extensions required for all technologies and layers in the Digital Map. We already discussed some options for individual limitations in the previous sections, here is the summary: 1. Use the current RFC8345 approach, leave to different augmentations to solve the problem their own way 2. Augment RFC8345 network, node, link and termination point for any changes needed from a new digital map module Havel, et al. Expires 6 January 2025 [Page 24] Internet-Draft Digital Map Modelling July 2024 module: dm-network-topology augment /nw:networks/nw:network: .... additions augment /nw:networks/nw:network/nw:node: .... additions augment /nw:networks/nw:network/nt:link: .... additions augment /nw:networks/nw:network/nw:node/nt:termination-point: .... additions // This can be a separate draft with describing pros and cons of // different approaches and yang model proposal. Add reference to // this draft when submitted 3. Make backward compatible updates to RFC8345, work on RFC8345 bis The following are some important guidelines mentioned in the RFC8345 that should be taken into account when suggesting the approach: * "The data models allow applications to operate on an inventory or topology of any network at a generic level, where the specifics of particular inventory/topology types are not required. At the same time, where data specific to a network type comes into play and the data model is augmented, the instantiated data still adheres to the same structure and is represented in a consistent fashion. This also facilitates the representation of network hierarchies and dependencies between different network components and network types" * β€œIt is possible for links at one level of a hierarchy to map to multiple links at another level of the hierarchy. For example, a VPN topology might model VPN tunnels as links. Where a VPN tunnel maps to a path that is composed of a chain of several links, the link will contain a list of those supporting links. Likewise, it is possible for a link at one level of a hierarchy to aggregate a bundle of links at another level of the hierarchy." Our recommendation on how to extend RFC8345 for Digital Map is to stay in spirit of RFC8345 and augment with non-topological info only. Reuse network, node, link, tp for all topological entities, reuse supporting for layering and add new properties/attributes and references to other modules Therefore, we suggest to work on RFC8345 bis to provide the backward compatible way to address all identified limitations. Havel, et al. Expires 6 January 2025 [Page 25] Internet-Draft Digital Map Modelling July 2024 The alternative of having the core topology augmentations in either TE modules or technology specific modules is not generic enough and is not in the spirit of having the core topology model to model topology in the consistent manner between different technologies and TE and non-TE topologies. 5.2. Guidelines for New Technologies/Layers Extensions There are already drafts that support augmentation for specific technologies. These drafts augment network, node, termination point and link, but also add different topological entities inside augmentations. For example, we have examples like this: module: new-module augment /nw:networks/nw:network/nw:network-types: +--rw new-topology! augment /nw:networks/nw:network: .... augment /nw:networks/nw:network/nw:node: .... adding list of tps of other type (e.g. tunnel TPs in TE draft) ... adding new supporting relationship supporting-tunnel-termination-point (te draft) augment /nw:networks/nw:network/nt:link: .... adding tunnels (te draft) augment /nw:networks/nw:network/nw:node/ nt:termination-point: .... There is a need to agree some guidelines for augmenting IETF network topology, so that additional topological information is not added in the custom way. There is also need to categorize the current augmentations and the impact of RFC 8345 bis based on what has been added for different technologies: * new properties/attributes (e.g. ietf-l2-topology, ietf-l3-unicast- topology, ietf-isis-topology) * new events (e.g. ietf-l2-topology) * new topological entities (e.g. ietf-te-topology, ietf-dc-fabric- topology) * new topological relations (e.g. ietf-te-topology) * type reuse (e.g. ietf-dots-telemetry, ietf-dc-fabric-types, ietf- dc-fabric-topology) Havel, et al. Expires 6 January 2025 [Page 26] Internet-Draft Digital Map Modelling July 2024 <-- This can be a separate draft. Guidelines with examples? Add reference to this draft when submitted --> 5.3. Guidelines for Digital Maps Connections to Other Components Digital Map must be pluggable: * We must connect to other YANG modules for inventory, configuration, assurance, etc * Not everything can be in YANG, we need to connect digital map YANG model with other modelling mechanisms, both southbound, northbound and internally Also, there are already some modules that connect network topology to other YANG modules. We will investigate different approaches and propose the best practices. The following are some existing approaches proposed in IETF: * How to connect network topology to interface [I-D.draft-ietf-ccamp-if-ref-topo-yang] * How to connect network topology to hardware inventory [I-D.ietf-ccamp-network-inventory-yang] * How to connect network topology to ivy inventory [I-D.draft-wzwb-ivy-network-inventory-topology] * How to connect network topology to performance monitoring [RFC9375] 5.3.1. How to connect YANG models with other modelling mechanisms There is need to connect YANG network topology to models and data outside of YANG, for example BMP, IPFIX, logs, etc. 5.4. Digital Map APIs This will include hierarchical APIs for cross-domain figure, IETF YANG Based API (read and write, change subscription and notify) and Query API 5.5. Digital Map Knowledge The following knowledge was needed to build Digital Map: * Abstract IETF Entities and Relationships as in [RFC8345] Havel, et al. Expires 6 January 2025 [Page 27] Internet-Draft Digital Map Modelling July 2024 * [RFC8345] Augmentations for a)Layers/sublayers b)Entities (services and subservices), c)Properties * Rules for aggregating entities * Rules for instantiating relationships (inter-layer and intra- layer) * Mapping from devices and controllers What can be achieved with existing RFC8345 YANG: * Entities (base class IETF Network, IETF Node, IETF Link, IETF TP) * Properties * Relationships Next steps * How to support temporal * How to support spacial * How to support historical 6. Conclusions Digital Map Modelling and Data are basis for the Digital Twin. During our PoC we have proven that Digital Map can be modelled using [RFC8345]. Nevertheless, we proposed some extensions/augmentations to [RFC8345] to support Digital Maps. After analysing all augmentations of RFC8345 modules, we determined that there must exist some constraints in regards to how to augment the core Digital Map model for different Layers and Technologies in order to support the approach recommended in RFC8345 and implemented in our PoC. Therefore, we recommend that IETF adopts the guidelines how to augment the core RFC8345 modules for Digital Map. All entities should augment IETF node, IETF network, IETF link or IETF Termination Point and augmentation can only include new properties, events, non- topological references. We suggest to start the work on RFC8345 bis to provide the backward compatible way to support the following basic topological features: * bidirectional links Havel, et al. Expires 6 January 2025 [Page 28] Internet-Draft Digital Map Modelling July 2024 * multipoint connectivity * cross-domain links via links between networks * multi-domain via network partitioning * shared topological entities between different domains * additional supporting relations * additional semantics required for core topologies 7. Security Considerations This section uses the template described in Section 3.7 of [I-D.ietf-netmod-rfc8407bis]. The YANG modules cited in this document define 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-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. The specifications that define these modules call out both sensitive and vulnerable writable and readable data nodes. These considerations are not reiterated here. 8. IANA Considerations This document has no actions for IANA. 9. References 9.1. Normative References Havel, et al. Expires 6 January 2025 [Page 29] Internet-Draft Digital Map Modelling July 2024 [I-D.havel-nmop-digital-map-concept] Havel, O., Claise, B., de Dios, O. G., and T. Graf, "Digital Map: Concept, Requirements, and Use Cases", Work in Progress, Internet-Draft, draft-havel-nmop-digital-map- concept-00, 4 July 2024, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., and A. Bierman, Ed., "Network Configuration Protocol (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, . [RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011, . [RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [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/RFC8345, March 2018, . [RFC8346] Clemm, A., Medved, J., Varga, R., Liu, X., Ananthakrishnan, H., and N. Bahadur, "A YANG Data Model for Layer 3 Topologies", RFC 8346, DOI 10.17487/RFC8346, March 2018, . [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, . Havel, et al. Expires 6 January 2025 [Page 30] Internet-Draft Digital Map Modelling July 2024 [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/RFC8795, August 2020, . [RFC8944] Dong, J., Wei, X., Wu, Q., Boucadair, M., and A. Liu, "A YANG Data Model for Layer 2 Network Topologies", RFC 8944, DOI 10.17487/RFC8944, November 2020, . 9.2. Informative References [Catalog] YANG Catalog, "YANG Impact Analysis", n.d., . [I-D.davis-opsawg-some-refinements-to-rfc8345] Davis, N., Havel, O., and B. Claise, "Some Refinements to Network Topologies (RFC8345)", Work in Progress, Internet- Draft, draft-davis-opsawg-some-refinements-to-rfc8345-01, 10 January 2024, . [I-D.draft-ietf-ccamp-if-ref-topo-yang] Ahlberg, J., Mansfield, S., Ye, M., Busi, I., Li, X., and D. Spreafico, "A YANG Data Model for Interface Reference Topology", Work in Progress, Internet-Draft, draft-ietf- ccamp-if-ref-topo-yang-01, 18 October 2023, . [I-D.draft-wzwb-ivy-network-inventory-topology] Wu, B., Zhou, C., Wu, Q., and M. Boucadair, "A Network Inventory Topology Model", Work in Progress, Internet- Draft, draft-wzwb-ivy-network-inventory-topology-01, 29 April 2024, . [I-D.ietf-ccamp-network-inventory-yang] Yu, C., Belotti, S., Bouquier, J., Peruzzini, F., and P. Bedard, "A YANG Data Model for Network Hardware Inventory", Work in Progress, Internet-Draft, draft-ietf- ccamp-network-inventory-yang-02, 9 July 2023, . Havel, et al. Expires 6 January 2025 [Page 31] Internet-Draft Digital Map Modelling July 2024 [I-D.ietf-netmod-rfc8407bis] Bierman, A., Boucadair, M., and Q. Wu, "Guidelines for Authors and Reviewers of Documents Containing YANG Data Models", Work in Progress, Internet-Draft, draft-ietf- netmod-rfc8407bis-14, 5 July 2024, . [I-D.ogondio-opsawg-isis-topology] de Dios, O. G., Barguil, S., Lopez, V., Ceccarelli, D., and B. Claise, "A YANG Data Model for Intermediate System to intermediate System (IS-IS) Topology", Work in Progress, Internet-Draft, draft-ogondio-opsawg-isis- topology-01, 23 October 2023, . [RFC8542] Zhuang, Y., Shi, D., Gu, R., and H. Ananthakrishnan, "A YANG Data Model for Fabric Topology in Data-Center Networks", RFC 8542, DOI 10.17487/RFC8542, March 2019, . [RFC9375] Wu, B., Ed., Wu, Q., Ed., Boucadair, M., Ed., Gonzalez de Dios, O., and B. Wen, "A YANG Data Model for Network and VPN Service Performance Monitoring", RFC 9375, DOI 10.17487/RFC9375, April 2023, . Acknowledgments Many thanks to Mohamed Boucadair for his valuable contributions, reviews, and comments. Many thanks to Bo Wu for her review of augmentation analysis and for the recommendations she shared. Contributors Nigel Davis Ciena Email: ndavis@ciena.com Authors' Addresses Olga Havel Huawei Email: olga.havel@huawei.com Havel, et al. Expires 6 January 2025 [Page 32] Internet-Draft Digital Map Modelling July 2024 Benoit Claise Huawei Email: benoit.claise@huawei.com Oscar Gonzalez de Dios Telefonica Email: oscar.gonzalezdedios@telefonica.com Ahmed Elhassany Swisscom Email: Ahmed.Elhassany@swisscom.com Thomas Graf Swisscom Email: thomas.graf@swisscom.com Havel, et al. Expires 6 January 2025 [Page 33]