IVY Working Group C. Yu Internet-Draft Huawei Technologies Intended status: Standards Track S. Belotti Expires: 6 June 2027 Nokia J.-F. Bouquier Vodafone F. Peruzzini FiberCop P. Bedard Cisco I. Busi Huawei Technologies 3 December 2026 A Base YANG Data Model for Network Inventory draft-ietf-ivy-network-inventory-yang-21 Abstract This document defines a base YANG data model for reporting network inventory. The model can be used directly, as is, to report physical hardware inventory (including basic running software attributes). It also provides a generalized, application- and technology-agnostic foundation that can be augmented with technology- or application- specific inventory details. About This Document This note is to be removed before publishing as an RFC. The latest revision of this draft can be found at https://ietf-ivy- wg.github.io/network-inventory-yang/draft-ietf-ivy-network-inventory- yang.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-ietf-ivy-network-inventory- yang/. Source for this draft and an issue tracker can be found at https://github.com/ietf-ivy-wg/network-inventory-yang. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Yu, et al. Expires 6 June 2027 [Page 1] Internet-Draft Network Inventory YANG December 2026 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 June 2027. Copyright Notice Copyright (c) 2026 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. Editorial Note (To be removed by RFC Editor) . . . . . . 5 2. Terminology and Notations . . . . . . . . . . . . . . . . . . 5 2.1. Requirements Notations . . . . . . . . . . . . . . . . . 6 2.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 6 2.3. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 8 2.4. YANG Prefixes . . . . . . . . . . . . . . . . . . . . . . 8 2.5. Artwork folding . . . . . . . . . . . . . . . . . . . . . 9 3. YANG Data Model for Network Inventory Overview . . . . . . . 9 3.1. Data Model Design . . . . . . . . . . . . . . . . . . . . 9 3.2. Common Attributes for Inventory Objects . . . . . . . . . 11 3.2.1. Common Attributes for Network Elements and Components . . . . . . . . . . . . . . . . . . . . . 11 3.3. Network Element . . . . . . . . . . . . . . . . . . . . . 12 3.4. Components . . . . . . . . . . . . . . . . . . . . . . . 12 3.4.1. Hardware Components . . . . . . . . . . . . . . . . . 14 3.4.2. Software Components . . . . . . . . . . . . . . . . . 16 3.5. Differences from RFC 8348 . . . . . . . . . . . . . . . . 17 3.5.1. Part Number . . . . . . . . . . . . . . . . . . . . . 17 3.5.2. Component identifiers . . . . . . . . . . . . . . . . 17 Yu, et al. Expires 6 June 2027 [Page 2] Internet-Draft Network Inventory YANG December 2026 3.5.3. Association with the parent component . . . . . . . . 17 3.5.4. Manufacturing Date . . . . . . . . . . . . . . . . . 18 4. YANG Data Model for Network Inventory . . . . . . . . . . . . 18 5. Operational Considerations . . . . . . . . . . . . . . . . . 29 5.1. Transport Performance Considerations . . . . . . . . . . 31 6. Security Considerations . . . . . . . . . . . . . . . . . . . 31 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 32 8. References . . . . . . . . . . . . . . . . . . . . . . . . . 33 8.1. Normative References . . . . . . . . . . . . . . . . . . 33 8.2. Informative References . . . . . . . . . . . . . . . . . 34 Appendix A. Network Inventory Tree Diagram . . . . . . . . . . . 37 Appendix B. Comparison With OpenConfig Platform YANG Data Model . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Appendix C. Efficiency Issue . . . . . . . . . . . . . . . . . . 43 Appendix D. Examples of Ports . . . . . . . . . . . . . . . . . 44 D.1. JSON Examples . . . . . . . . . . . . . . . . . . . . . . 45 Appendix E. Example of Multi-chassis Network Elements . . . . . 47 E.1. JSON Examples . . . . . . . . . . . . . . . . . . . . . . 51 Appendix F. Example of Non-modular Network Elements . . . . . . 63 F.1. JSON Examples . . . . . . . . . . . . . . . . . . . . . . 63 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 66 Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 67 1. Introduction This document defines a base YANG data model for reporting network inventory that is application- and technology-agnostic. The base data model can be augmented to describe application- and technology- specific information. Note that the usage of the term "network inventory", in the context of this document, is to indicate that it is describing "network-wide" scope inventory information. Network inventory is a foundation for network management in all types of networks. Network operators need to keep a record of what equipment is planned and installed in their networks (including a variety of information such as product name, vendor, product series, embedded software, and hardware/software versions). Network inventories may be constructed from management system data to represent the expected devices present in a network, and also be used to audit and catalog what devices are discovered in the network, and to expose that information consistently. Yu, et al. Expires 6 June 2027 [Page 3] Internet-Draft Network Inventory YANG December 2026 Network inventory management is a critical component for ensuring the infrastructure remains up-to-date (e.g., identifying assets that need to be upgraded or decommissioned), stays healthy (e.g., auditing to identify faulty elements), and is maintained to meet performance objectives. Also, network inventory management allows operators to keep track of which devices are deployed in their networks, including relevant embedded software and hardware versions. Exposing standard interfaces to retrieve information relating to network element components as maintained in an inventory provides key enablers for many applications. For example, [I-D.ietf-teas-actn-poi-applicability] identifies a gap relating to the lack of YANG data models that could be used at Abstraction and Control of TE Networks (ACTN) Multi-Domain Service Coordinator- Provisioning Network Controller Interface (MPI) level to report whole or partial network hardware inventory information available at domain controller level towards upper layer systems (e.g., Multi-Domain Service Coordinator (MDSC) or Operations Support Systems (OSS) layers). [RFC8348] defines a YANG data model for the management of the hardware on a single server and, therefore, it is more applicable to the domain controller towards the network elements rather than at the northbound interface of a network controller (e.g., toward an application or another hierarchical network controller). However, the YANG data model defined in [RFC8348] has been used as a reference for defining the YANG network inventory data model presented in this document. Per the definition of [RFC8309] and [RFC8969], the YANG data model defined in [RFC8348] is a device model while the YANG data model defined in this document is a network model. As outlined in Section 5, the base network inventory model provides a read-only perspective of the installed network inventory data the controller is aware of. Therefore, other inventory data (e.g., inactive assets, warehouse spares, or planned assets) are outside the scope of this data model. The distinction between a temporarily unreachable network element and one that has been removed from the network is outside the scope of this document and depends on the discovery mechanism used by the controller. As outlined in Section 3, the base inventory YANG data model supports only physical network elements but generalizes the network element definition to allow supporting other types of network elements through adequate augmentations. Yu, et al. Expires 6 June 2027 [Page 4] Internet-Draft Network Inventory YANG December 2026 Section 3 provides an overview of the YANG data model defined in this document, which consists of one YANG module "ietf-network-inventory" defined in Section 4. Appendix A provides the tree diagram of this YANG data model. Appendix B provides a mapping between the network inventory YANG data model defined in this document and the OpenConfig Platform model, which can be used by a network controller to discover the device data to expose in the network inventory. Appendix C provides further information on the efficiency and scalability concerns discovered during the integration with Inventory OSS in some operator networks. Appendix D, Appendix E, and Appendix F provide JSON examples illustrating how to use this YANG data model. This YANG data model is application- and technology-agnostic (that is, valid for IP/MPLS, optical, and microwave networks as well as optical local loops, access networks, core networks, data centers, etc.) and can be augmented to include required application- and technology-specific inventory details together with specific hardware or software component's attributes. The base inventory YANG data model is scoped to cover the common use cases for inventory but at a network-wide level, and can be used directly, as is, to report physical hardware and basic software information. 1.1. Editorial Note (To be removed by RFC Editor) 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 * 2026-11-18 --> the actual date of the publication of this document 2. Terminology and Notations Yu, et al. Expires 6 June 2027 [Page 5] Internet-Draft Network Inventory YANG December 2026 2.1. Requirements Notations 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. 2.2. Terminology The following terms are defined in [RFC7950] and are not redefined here: * server * augment * data model * data node The following term is defined in [RFC6241] and is not redefined here: * state data The following terms are defined in [RFC8453] and are not redefined here: * Abstraction and Control of TE Networks (ACTN) * Multi-Domain Service Coordinator (MDSC) * Provisioning Network Controller (PNC) * MDSC-PNC Interface (MPI) The following terms are defined in the description statements of the corresponding YANG identities, defined in [IANA.iana-hardware], and are not redefined here: * backplane * battery * cpu * fan Yu, et al. Expires 6 June 2027 [Page 6] Internet-Draft Network Inventory YANG December 2026 * module * power supply: for the "power-supply" YANG identity [IANA.iana-hardware] * sensor * stack * storage device: for the "storage-drive" YANG identity [IANA.iana-hardware] Also, the document makes use of the following terms: Chassis: A field replaceable equipment with a particular structural format and dimensions. A chassis can, but does not need to, include spaces (called slots) to take cards. Elsewhere, a chassis can be called shelf, sub-rack, stand-alone unit, etc. Port: A component where networking traffic can be received and/or transmitted, e.g., by attaching networking cables. In case of pluggable ports, the port may be empty when no pluggable module is plugged in. Network inventory: A collection of data for network elements and their components with network-wide scope, managed by a specific management system. Physical network element: An implementation or application specific group of components (e.g., hardware components). Network element: The generalization of the physical network element definition. Hardware component: A general definition of category of components as defined in [RFC8348] and [IANA.iana-hardware] (e.g., backplane, battery, container, central processing unit (CPU), chassis, fan, module, port, power supply, sensor, stack, and storage device components). The list of hardware components can be extended in future versions of [IANA.ianaentity-mib] (and, consequently, of [IANA.iana-hardware]). Component: A further extension of the hardware component definition Yu, et al. Expires 6 June 2027 [Page 7] Internet-Draft Network Inventory YANG December 2026 to include other inventory objects which can be managed, from an inventory perspective, in the same way as hardware components. Card: A pluggable equipment with a particular structural format and dimensions which can be inserted into one or more slots (or sub- slots). A card can have spaces (called sub-slots) to take other cards. Elsewhere, a card can be called board, module, circuit pack, etc. Slot: A space in a chassis that can be equipped with one card, which may be chosen from a limited range of types of cards. A slot can be subdivided into smaller spaces (called sub-slots) that can also be part of a card. Container: A hardware component class that is capable of containing one or more removable physical entities (e.g., a slot in a chassis is containing a board). Within this document, the term "container" represents a hardware component class capable of containing one or more removable physical entities, e.g., a slot in a chassis capable of containing a board. Elsewhere, a container can be called holder. 2.3. Tree Diagrams The meanings of the symbols in the YANG tree diagrams are defined in [RFC8340]. 2.4. YANG Prefixes Table 1 lists the prefixes of the YANG modules that are used in this document. Yu, et al. Expires 6 June 2027 [Page 8] Internet-Draft Network Inventory YANG December 2026 +========+========================+========================+ | Prefix | YANG Module | Reference | +========+========================+========================+ | inet | ietf-inet-types | Section 4 of [RFC9911] | +--------+------------------------+------------------------+ | yang | ietf-yang-types | Section 3 of [RFC9911] | +--------+------------------------+------------------------+ | ianahw | iana-hardware | [IANA.iana-hardware] | +--------+------------------------+------------------------+ | nwi | ietf-network-inventory | RFC XXXX | +--------+------------------------+------------------------+ Table 1: Prefixes and corresponding YANG modules 2.5. Artwork folding This document uses artwork folding [RFC8792] for better formatting. 3. YANG Data Model for Network Inventory Overview The base network inventory model, defined in this document, provides a list of network elements and network element components. The information in the data model is discovered by the controller through mechanisms which are outside the scope of this document. In case some information is not provided by the device, the network controller SHALL omit this information unless this information is known by other sources of information (e.g., through local configuration within the network controller). 3.1. Data Model Design The "network-inventory" top level container is defined to support reporting other types of network inventory objects, besides the network elements and network element components. These additional types of network inventory objects can be defined, together with the associated YANG data model and the rationale for managing them as part of the network inventory, in other documents providing application- and technology-specific companion augmentation data models, such as [I-D.ietf-ivy-network-inventory-location]. The network element definition is generalized to support physical network elements and other types of components' groups that can be managed as physical network elements from an inventory perspective. Yu, et al. Expires 6 June 2027 [Page 9] Internet-Draft Network Inventory YANG December 2026 Physical network elements are usually devices such as hosts, routers, terminal servers, and the like, which have management agents responsible for performing the network management functions requested by the network management stations ([RFC6632]). The "ne-type" YANG identity is defined as a base identity to describe the type of a network element. This document defines only the "ne- physical" identity. Other types of network elements can be defined in other documents, together with the associated YANG identities and the rationale for managing them as network elements from an inventory perspective. The component definition is also generalized to support any types of component inventory objects that can be managed as hardware components from an inventory perspective. The top-level "components" container exposes a list of components, within each network element, and other parameters. Different component types can be distinguished by the class of component. The component "class" is defined as a union between the hardware class identity, defined in "iana-hardware", and the "non- hardware-class" identity, defined in this document. Other component types can be defined in other documents, together with the associated YANG identities and the rationale for managing them as components from an inventory perspective. The identity definition of additional types of "ne-type" and "non- hardware-class" identity of component are outside the scope of this document and could be defined in application- and technology-specific companion augmentation data models, such as [I-D.ietf-ivy-network-inventory-software]. Like in [RFC8348], rack, chassis, slot, sub-slot, board, and port are defined respectively as "chassis", "container", "module" and "port" component classes, with generic attributes. While [RFC8348] is used to manage the hardware of a single server (e.g., a network element), the Network Inventory YANG data model is used to retrieve the base inventory information that a controller discovers from all the network elements with network-wide scope under its control. Yu, et al. Expires 6 June 2027 [Page 10] Internet-Draft Network Inventory YANG December 2026 However, the YANG data model defined in [RFC8348] has been used as a reference for defining the YANG network inventory data model. This approach can simplify the implementation of this inventory model when the controller uses the YANG data model defined in [RFC8348] to retrieve the hardware from the network elements under its control. 3.2. Common Attributes for Inventory Objects For all the inventory objects, there are some common attributes, including: uuid: The Universally Unique Identifier (UUID) of the inventory object, assigned by the server. Such identifiers are widely implemented with systems and designed to be globally unique. name: A human-interpretable label of the inventory object, provided by a network operator or by the server. It could also be present on a Graphical User Interface (GUI). alias: A human-interpretable label of the inventory object, provided by a network operator. It could also be present in a GUI instead of or in addition to the name. description: A human-interpretable description of the inventory object, provided by a network operator or by the server. The description provides more detailed information to prompt users when performing maintenance operations etc. 3.2.1. Common Attributes for Network Elements and Components To be consistent with the component definition, the following attributes defined in [RFC8348] for components are reused for network elements: mfg-name: The name of the manufacturer of the entity (component or network element). product-name: The vendor-specific and human-interpretable string describing the entity (component or network element) type. It is expected that vendors assign unique product names to different entities within the scope of the vendor. Other software-related attributes are defined in Section 3.4.2 and applicable to network elements and components. Yu, et al. Expires 6 June 2027 [Page 11] Internet-Draft Network Inventory YANG December 2026 3.3. Network Element In addition to the common attributes defined for network elements and components in Section 3.2, the following attributes are defined for the network elements: ne-id: The identifier that uniquely identifies the network element (NE) within the network, assigned by the server since the network elements cannot guarantee that their local identifier is unique within the network. The "ne-id" MUST be assigned such that the same network element will always be identified through the same identifier, even if the network elements get disconnected from the network controller. Mechanisms to ensure this (e.g., checking the "mfg-name", "product-name", management IP address, and physical location) are implementation specific and outside the scope of this document. ne-type: The type of network element (e.g., physical network element). See Section 3.1 for the definition of NE types. product-rev: A vendor-specific product revision string for the NE. 3.4. Components The YANG data model for network inventory mainly follows the same approach as [RFC8348] and reports the network hardware inventory as a list of components with different types (e.g., chassis, module, and port). In addition to the common attributes defined for network elements and components in Section 3.2, the following attributes are defined for the components: component-id: The identifier that uniquely identifies the component within the NE. It can be assigned by the NE or by the server. class: The type of component (e.g., chassis, module, or port). See Section 3.1 for the definition of component types. hardware-rev: The vendor-specific hardware revision string for the component. The preferred value is the hardware revision identifier actually printed on the component itself (if present). mfg-date: The date of manufacturing of the component. Yu, et al. Expires 6 June 2027 [Page 12] Internet-Draft Network Inventory YANG December 2026 part-number: The vendor-specific part number of the component type, as defined in [ISO_IEC_15418] and [ISO_IEC_15459-4]. It is expected that vendors assign unique part numbers to different component types within the scope of the vendor. Although the part number is often an alphanumeric string and not a number, this document uses this term since it is widely used and well known in the industry. serial-number: The vendor-specific serial number of the component instance, as defined in [ISO_IEC_15418] and [ISO_IEC_15459-4]. It is expected that vendors assign unique serial numbers to different component instances at least within the scope of the part-number. Although the serial number is often an alphanumeric string and not a number, this document uses this term since it is widely used and well known in the industry. asset-id: An asset tracking identifier for the component, provided by a network operator. is-fru: Indicates whether or not a component is considered a field- replaceable unit by the vendor. uri: A list of Uniform Resource Identifiers (URIs) [RFC3986] which provide additional identification information about the component. parent: The list of the parent components that physically contain this component. Usually a component has only one parent component. Components which are contained within the network element have no parent component. Boards which occupy multiple slots have multiple parent components (one for each occupied slot). parent-rel-pos: When this component is contained in the network element or in only one parent component and has sibling components, this attribute represents the relative position of this component with respect to the parent component among all the sibling components. Yu, et al. Expires 6 June 2027 [Page 13] Internet-Draft Network Inventory YANG December 2026 is-main: When the network element contains chassis components which can take or not the "main" role (e.g., in case of multi-chassis network elements), this attribute indicates whether the chassis is taking or not the "main" role. See, for example, Appendix E. For state data like "admin-state", "oper-state", and so on, this document considers that they are related to device hardware management, not network inventory. Therefore, they are outside of the scope of this document. Same for the "sensor-data", they might be defined in some other performance monitoring data models instead of the inventory data model. 3.4.1. Hardware Components Other models (e.g., [TMF_SD2-20]) classify the hardware components into two groups: holder group and equipment group. The holder group contains rack, chassis, slot, and sub-slot while the equipment group contains network-element, board, and port. This data model, like [RFC8348], does not follow this classification and manages all the hardware components without distinguishing between holder and equipment groups. See Appendix D, Appendix E, and Appendix F for concrete hardware component examples. Figure 1 describes the relationship between typical inventory objects in a physical network element. Yu, et al. Expires 6 June 2027 [Page 14] Internet-Draft Network Inventory YANG December 2026 +-----------------+ | network element | +--------+--------+ | | | 1:M | | V +-------------+ | chassis +---+ | | | 1:N | |<--+ +-----+-+-----+ | | 1:N | | 1:M (1) +---------------+ +---------------+ | | | | V V +-------------+ N:1 +-----------+ +---+ slot +------------------>| +---+ 1:N | | /sub-slot | | board | | 1:N +-->| |<------------------+ |<--+ (1) +-------------+ 1:N +-----+-----+ | | 1:N V +-----------+ | port | +-----------+ Notes: (1) non field-replaceable Figure 1: Relationship between typical inventory objects in physical network elements The "iana-hardware" module [IANA.iana-hardware] defines YANG identities for the hardware component types in the IANA-maintained "IANA-ENTITY-MIB" registry. Some of the definitions taken from [RFC8348] are based on the ENTITY- MIB [RFC6933]. Additional attributes of specific hardware, such as CPU, storage, port, or power supply are defined in the hardware extension. Yu, et al. Expires 6 June 2027 [Page 15] Internet-Draft Network Inventory YANG December 2026 3.4.2. Software Components Each instance of a network element or a component includes its own "software-rev" list which provides basic software attributes for each entity (network element and component). The scope of the list is to provide information about the software images that are running within the related entity. The term "software image" in this document refers to a software binary image which can be run on a system with lifecycle state (e.g., running, inactive/standby). In this context, the term "running" refers to the lifecycle state (as opposed to per-instruction execution state) of a software image that has been loaded and started on the network element or component (as opposed to software images stored in an inactive/standby lifecycle state), as discovered by the controller (see Section 5). How a controller discovers and keeps synchronized running software information as well as how it manages transient state (e.g., reboot or loss of connectivity with the network element) are outside the scope of this document. The data model supports scenarios where multiple software images can be running within the entity. For example, one Operating System and one or more application software images can be running in a network element, and, in the same way, one bootloader, one firmware and one or more Field-Programmable Gate Array (FPGA) software images can be running on a component like a circuit pack. For each software image running on the entity, the name and version information are provided. The representation of inactive or standby software images within the network inventory is outside the scope of this document and it can be addressed by augmenting the base inventory model, such as the extension defined in [I-D.ietf-ivy-network-inventory-software]. The software and hardware components share the same attributes of the component and have similar replaceability requirements. Generally, the device also has other software data, for example, one or more records of software patches that have been applied. Software upgrade, downgrade, and all software lifecycle control operations (install, activate, deactivate, removal, etc.) are out of scope of the network inventory model. Yu, et al. Expires 6 June 2027 [Page 16] Internet-Draft Network Inventory YANG December 2026 Richer software identification, such as references to Software Bills of Materials (e.g., SPDX or CycloneDX), Concise Software Identification (CoSWID) tags [RFC9393], or cryptographic digests of software images, is outside the scope of the base inventory model. Such information can be added by augmenting the "software-rev" list, for example in [I-D.ietf-ivy-network-inventory-software]. 3.5. Differences from RFC 8348 This document re-defines some attributes listed in [RFC8348], based on some integration experience for network inventory data. 3.5.1. Part Number According to the description in [RFC8348], the attribute named "model-name" under the component is preferred to have a customer- visible part number value. The "model-name" data node identifier is not straightforward to understand, and therefore, in the base inventory data model the attribute is called "part-number". 3.5.2. Component identifiers There are some use cases where the name of the components are assigned and changed by the operator. In these cases, the assigned names are also not guaranteed to be always unique. In order to support these use cases, the base inventory data model is not aligned with [RFC8348] in defining the component name as the key for the component list. Instead, the component "name" is defined as an optional attribute and the "component-id" attribute is defined as the key for the component list (in alignment with the approach followed for the "network- element" list). 3.5.3. Association with the parent component There are some use cases where the parent relative position is not reported as an integer but as a string. In order to support these use cases and allow a straightforward match between the relative position definition in the device and in the network inventory, this model defines the "parent-rel-pos" data node as a string instead of as an integer. Yu, et al. Expires 6 June 2027 [Page 17] Internet-Draft Network Inventory YANG December 2026 If the device reports the relative position as an integer, e.g., using the device model defined in [RFC8348], the integer value reported by the device can be mapped into a string within the network inventory. Furthermore, to support cases where a component is physically contained within multiple parent components (e.g., a board occupying multiple slots), the "parent" data node is defined as a "leaf-list" rather than a single "leaf" (as in [RFC8348]). In such multi-parent cases, each referenced parent is an atomic container (such as a slot or sub-slot) that is fully occupied by that component. Because the component occupies each parent container entirely, a relative position within a single parent has no meaning, and the "parent-rel-pos" data node MUST be omitted. If a physical slot can be shared by multiple boards, each partition is modeled as a separate sub-slot container component. 3.5.4. Manufacturing Date The "mfg-date" data node in [RFC8348] is defined as the "date of manufacturing of the managed component" using the "date-and-time" data type defined in [RFC9911]. While the time of day is typically not meaningful for hardware components, it can be useful for other types of components (e.g., software components). Therefore, this model defines the "mfg-date" data node as a "union" of the "date-and-time" and "date" data types defined in [RFC9911]. Although using a "union" adds some complexity and overhead to data parsing, cleaning, and normalization, this modeling approach is more versatile, flexible, and allows for a straightforward match between the manufacturing date definition in the device and in the network inventory. In particular, it avoids the need to use a dummy time value (such as "T00:00:00Z"), which would be indistinguishable from a valid timestamp. 4. YANG Data Model for Network Inventory file "ietf-network-inventory@2026-11-18.yang" module ietf-network-inventory { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-network-inventory"; prefix nwi; import iana-hardware { Yu, et al. Expires 6 June 2027 [Page 18] Internet-Draft Network Inventory YANG December 2026 prefix ianahw; reference "https://www.iana.org/assignments/yang-parameters"; } import ietf-yang-types { prefix yang; reference "RFC 9911: Common YANG Data Types"; } import ietf-inet-types { prefix inet; reference "RFC 9911: Common YANG Data Types"; } organization "IETF Network Inventory YANG (IVY) Working Group"; contact "WG Web: https://datatracker.ietf.org/wg/ivy/ WG List: Editor: Chaode Yu Editor: Sergio Belotti Editor: Jean-Francois Bouquier Editor: Fabio Peruzzini Editor: Phil Bedard "; description "This module defines a base model for retrieving network inventory. Copyright (c) 2026 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). Yu, et al. Expires 6 June 2027 [Page 19] Internet-Draft Network Inventory YANG December 2026 All revisions of IETF and IANA published modules can be found at the YANG Parameters registry group (https://www.iana.org/assignments/yang-parameters). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices. 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 (RFC 2119) (RFC 8174) when, and only when, they appear in all capitals, as shown here."; revision 2026-11-30 { description "Initial version"; reference "RFC XXXX: A Base YANG Data Model for Network Inventory"; } /* * Identities */ identity non-hardware-class { description "Base identity for non-hardware components (e.g., software components) in a managed device."; } identity ne-type { description "Base identity for Network Element (NE) types."; } identity ne-physical { base nwi:ne-type; description "Indicates a physical NE."; } /* * Types */ typedef ne-ref { type leafref { path "/nwi:network-inventory/nwi:network-elements" Yu, et al. Expires 6 June 2027 [Page 20] Internet-Draft Network Inventory YANG December 2026 + "/nwi:network-element/nwi:ne-id"; require-instance false; } description "This type is intended to be used by data models that need to reference a network element."; } /* * Groupings */ grouping component-ref { description "This grouping is intended to be used by data models that need to reference a component within a network element."; leaf ne-ref { type nwi:ne-ref; description "The reference to the network element which contains the component to be referenced."; } leaf component-ref { type leafref { path "/nwi:network-inventory/nwi:network-elements/" + "nwi:network-element[nwi:ne-id=current()/../ne-ref]" + "/nwi:components/nwi:component/nwi:component-id"; require-instance false; } description "The reference to the component."; } } grouping port-ref { description "This grouping is intended to be used by data models that need to reference a port component within a network element."; leaf ne-ref { type nwi:ne-ref; description "The reference to the network element which contains the port to be referenced."; } leaf port-ref { type leafref { path "/nwi:network-inventory/nwi:network-elements/" + "nwi:network-element[nwi:ne-id=current()/../ne-ref]" Yu, et al. Expires 6 June 2027 [Page 21] Internet-Draft Network Inventory YANG December 2026 + "/nwi:components/nwi:component/nwi:component-id"; require-instance false; } description "The reference to the port component. The class of the referenced port component MUST be 'ianahw:port' or a derived identity."; } } grouping basic-common-entity-attributes { description "The set of basic attributes which are common to all the entities (e.g., component, network elements, location, passive entities) defined in this module and in other inventory modules."; leaf uuid { type yang:uuid; description "The Universally Unique Identifier of the entity (e.g., component). This identifier is assigned by the server."; } leaf name { type string; description "A human-interpretable label of the inventory object, specified by a network operator or by the server to provide a non-volatile 'handle' for the entity (e.g., component). If no value is discovered, the server MAY set the value of this node to a locally unique value in the operational state."; } leaf alias { type string; description "A human-interpretable label of the inventory object, specified by a network operator that provides a non-volatile 'handle' for the entity (e.g., component)."; } leaf description { type string; description "The textual description of the entity (e.g., component)."; } Yu, et al. Expires 6 June 2027 [Page 22] Internet-Draft Network Inventory YANG December 2026 } grouping ne-component-common-entity-attributes { description "The set of attributes which are common to all the entities (e.g., component or network elements) defined in this module."; uses basic-common-entity-attributes; list software-rev { key "name"; description "The list of the software images representing the running software images within the entity (e.g., component)."; leaf name { type string; description "The vendor-specific name of the software image."; } leaf revision { type string; description "The vendor-specific revision string of the software image when not implicitly defined as part of the name of the software image."; } list patch { key "revision"; description "The list of the running software patches for the software image."; leaf revision { type string; description "The vendor-specific revision string of the software patch when not implicitly defined as part of the name or revision of the software image."; } } } leaf mfg-name { type string; description "The name of the manufacturer of this entity (e.g., component)."; } leaf product-name { type string; description Yu, et al. Expires 6 June 2027 [Page 23] Internet-Draft Network Inventory YANG December 2026 "The vendor-specific and human-interpretable string describing the entity (e.g., component) type. It is expected that vendors assign unique product names to different entity (e.g., component) types within the scope of the vendor."; } } grouping component-attributes { description "The set of common attributes of a component. This grouping is intended also to be re-used by data models that need to report the common attributes of a component."; leaf component-id { type string; description "An identifier that uniquely identifies the component in a node."; } leaf class { type union { type identityref { base ianahw:hardware-class; } type identityref { base nwi:non-hardware-class; } } mandatory true; description "The type of the component."; } uses ne-component-common-entity-attributes { refine "software-rev" { reference "RFC 6933: Entity MIB (Version 4) - entPhysicalSoftwareRev"; } refine "mfg-name" { description "The name of the manufacturer of this component. The preferred value is the manufacturer name string actually printed on the component itself (if present). Note that comparisons between instances of the 'part-number', 'software-rev', and 'serial-number' nodes Yu, et al. Expires 6 June 2027 [Page 24] Internet-Draft Network Inventory YANG December 2026 are only meaningful amongst components with the same value of 'mfg-name'. If the manufacturer name string associated with the component is unknown to the server, then this node is not instantiated."; reference "RFC 6933: Entity MIB (Version 4) - entPhysicalMfgName"; } } leaf hardware-rev { type string; description "The vendor-specific hardware revision string for the component. The preferred value is the hardware revision identifier actually printed on the component itself (if present)."; reference "RFC 6933: Entity MIB (Version 4) - entPhysicalHardwareRev"; } leaf mfg-date { type union { type yang:date-and-time; type yang:date; } description "The date of manufacturing of the component."; reference "RFC 6933: Entity MIB (Version 4) - entPhysicalMfgDate"; } leaf part-number { type string; description "The vendor-specific part number of the component type. It is expected that vendors assign unique part numbers to different component types within the scope of the vendor."; reference "ISO/IEC 15418:2016: Information technology - Automatic identification and data capture techniques - GS1 Application Identifiers and ASC MH10 Data Identifiers and maintenance (Data Identifier: 1P) ISO/IEC 15459-4:2014: Information technology - Automatic identification and data capture techniques - Unique identifiers - Part 4: Individual products and Yu, et al. Expires 6 June 2027 [Page 25] Internet-Draft Network Inventory YANG December 2026 product packages"; } leaf serial-number { type string; description "The vendor-specific serial number of the component instance. It is expected that vendors assign unique serial numbers to different component instances within the scope of the 'part-number'."; reference "ISO/IEC 15418:2016: Information technology - Automatic identification and data capture techniques - GS1 Application Identifiers and ASC MH10 Data Identifiers and maintenance (Data Identifier: S) ISO/IEC 15459-4:2014: Information technology - Automatic identification and data capture techniques - Unique identifiers - Part 4: Individual products and product packages"; } leaf asset-id { type string; description "This node is an asset tracking identifier for the component, as specified by a network operator. A server implementation MAY map this leaf to the entPhysicalAssetID MIB object. Such an implementation needs to use some mechanism to handle the differences in size and characters allowed between this leaf and entPhysicalAssetID. The definition of such a mechanism is outside the scope of this document."; reference "RFC 6933: Entity MIB (Version 4) - entPhysicalAssetID"; } leaf is-fru { type boolean; description "This node indicates whether or not this component is considered a 'field-replaceable unit' by the vendor. If this node contains the value 'true', then this component identifies a field-replaceable unit. For all components that are permanently contained within a field-replaceable unit, the value 'false' should be returned for this node."; Yu, et al. Expires 6 June 2027 [Page 26] Internet-Draft Network Inventory YANG December 2026 reference "RFC 6933: Entity MIB (Version 4) - entPhysicalIsFRU"; } leaf-list uri { type inet:uri; description "A list of Uniform Resource Identifiers (URIs) that provide additional identification information about the component."; reference "RFC 6933: Entity MIB (Version 4) - entPhysicalUris"; } } /* * Data Nodes */ container network-inventory { config false; description "Top-level container for network inventory."; container network-elements { description "The top-level container for the list of network elements within the network."; list network-element { key "ne-id"; description "The list of network elements within the network."; leaf ne-id { type string; description "An identifier that uniquely identifies the NE in a network. This identifier is assigned by the server and MUST be persistent across disconnections, reboots, or management session losses."; } leaf ne-type { type identityref { base nwi:ne-type; } default "nwi:ne-physical"; description "The network element type."; reference Yu, et al. Expires 6 June 2027 [Page 27] Internet-Draft Network Inventory YANG December 2026 "RFC XXXX: A Base YANG Data Model for Network Inventory, Section 3."; } uses ne-component-common-entity-attributes; leaf product-rev { type string; description "The vendor-specific product revision string for the network element."; } container components { description "The top-level container for the list of components within a network element."; list component { key "component-id"; description "The list of components within a network element."; uses component-attributes; leaf-list parent { type leafref { path "../../component/component-id"; require-instance false; } description "The identifiers of all the components that physically contain this component. If this list is empty, this component is not contained in any other component but it is contained in the network element."; reference "RFC 6933: Entity MIB (Version 4) - entPhysicalContainedIn"; } leaf parent-rel-pos { when 'count(../parent) < 2' { description "This data node is applicable only when this component is contained in the network element or in only one parent component. When a component is contained in multiple parent components (e.g., a multi-slot board occupying multiple slots), it is assumed that it fully occupies each referenced parent container, making the relative position inapplicable."; } Yu, et al. Expires 6 June 2027 [Page 28] Internet-Draft Network Inventory YANG December 2026 type string; description "The relative position with respect to the parent component among all the sibling components. The format of this string is implementation-specific. When mapping from RFC 6933, the entPhysicalParentRelPos integer value SHOULD be encoded as an integer string."; reference "RFC 6933: Entity MIB (Version 4) - entPhysicalParentRelPos"; } leaf is-main { when "derived-from-or-self(../nwi:class, " + "'ianahw:chassis')"; type boolean; description "This node indicates whether the chassis is taking or not the 'main' role. This node is applicable only to scenarios where the network element contains chassis components which can take or not the 'main' role (e.g., multi-chassis network elements). It is therefore omitted in scenarios where the network element does not contain chassis components which can take or not the 'main' role (e.g., single-chassis network elements)."; } } } } } } } Figure 2: Network inventory YANG module 5. Operational Considerations The network inventory YANG data model defined in the document is intended to report the actual inventory data that a network controller knows of the network elements and components actually installed within the network. Therefore, this data model provides a read-only perspective of the network inventory information. Yu, et al. Expires 6 June 2027 [Page 29] Internet-Draft Network Inventory YANG December 2026 It is worth noting that some information reported within this YANG data model can be configured on the device through mechanisms which are outside the scope of this document. As outlined in Section 1, per the definition of [RFC8309] and [RFC8969], the network inventory model is a network model. This information can be provided by a network controller to a higher level hierarchical network controller, to an Inventory OSS or to any other type of application which needs to discover the network inventory information. For example, in the context of ACTN, the network inventory YANG data model can be used at the MPI interfaces, as defined in [RFC8453], or on an interface, not defined in [RFC8453] between the MDSC and the Inventory OSS. As outlined in Section 3, the information in the data model is discovered by the controller through mechanisms which are outside the scope of this document. For example, the network controller can collect this information by reading it from the devices using the device model supported by the devices. This model does not constrain the device models used on the device: the YANG data model defined in [RFC8348] is an option but other options (e.g., vendor specific interfaces or YANG data models) are also allowed. Note that distinguishing between the cases where a NE is unreachable versus decommissioned depends on the mechanism used for discovering this information and is outside the scope of this document. In case of hierarchical controllers, a hierarchical network controller can also collect the network inventory information from its lower-level network controllers using this YANG data model (or other mechanisms which are outside the scope of this document) and report the combined network inventory information to a higher-level network controller, to an Inventory OSS, or to any other type of application which needs to discover the network inventory information. When combining network inventories from lower-level network controllers, the higher-level controller acts as the server for its northbound interface and is responsible for ensuring that the "ne-id" values remain unique within the combined "network-element" list it exposes. The inventory needs to be updated every time components are added or removed from the network. Protocol-specific mechanisms can be used to notify the client about these changes. Yu, et al. Expires 6 June 2027 [Page 30] Internet-Draft Network Inventory YANG December 2026 Since this YANG data model reports what is actually installed in the network, if a component (e.g., a board) is physically removed from the network, also its descendant components (e.g., daughter boards and ports) are also physically removed from the network and, as a consequence, from the inventory data being reported through this YANG data model. If the inventory system defined by this document is to be deployed into a network which has a preexisting inventory system, it is worth noting that existing deployments are based on proprietary Inventory OSS and that the migration path is highly dependent on the specific proprietary solution. Therefore, the migration processes are operator dependent: it is expected that the deployment of the standard YANG-based solution on the controllers will take some time and its integration with existing Inventory OSSes will also take longer time. In a longer term, the network controllers could provide inventory information, using this YANG data model, also to next generation OSSes. When this model is used, the source of truth for the inventory data in the scope of this model is the network controller providing this data. Some legacy inventory information (e.g., inactive assets, warehouse spares, procurement or commercial metadata) falls outside the scope of the base model. 5.1. Transport Performance Considerations Deployments of the data model defined in this document in large-scale networks can generate substantial data payloads during full inventory retrievals. To prevent these large transfers from causing network congestion or adversely impacting critical operational traffic, the underlying transport sessions SHOULD be managed carefully. Operators should ensure that the transport method chosen for retrieval either utilizes native congestion control mechanisms, operates over network paths with pre-provisioned capacity, or implements rate-limiting mechanisms (such as circuit breakers) to safely throttle large-volume data transfers. 6. Security Considerations This section is modeled after the template described in Section 3.7.1 of [RFC9907]. Yu, et al. Expires 6 June 2027 [Page 31] Internet-Draft Network Inventory YANG December 2026 The "ietf-network-inventory" YANG module defines a data model that is designed to be accessed via YANG-based management protocols, such as Network Configuration Protocol (NETCONF) [RFC6241] and RESTCONF [RFC8040]. These YANG-based management protocols (1) have to use a secure transport layer (e.g., SSH [RFC4252], TLS [RFC9846], and QUIC [RFC9000]) and (2) have to use mutual authentication. 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. 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: * "/nwi:network-inventory/nwi:network-elements" This subtree reports the inventory information for all the network elements and their hardware components deployed within the network (such as manufacturer names, product names, part numbers, and hardware revisions) as well as the running software images (including their names, revisions, and applied patches). Unauthorized access to this subtree can disclose these product and version details, allowing a malicious attacker to perform targeted attacks against network elements, hardware components, or software images with known vulnerabilities. In large networks, the massive volume of reported data can cause scalability issues, as reported in Appendix C. A malicious attacker could leverage this to cause resource exhaustion. Modules that use the groupings that are defined in this document should identify the corresponding security considerations. For example, reusing the "component-attributes" grouping may expose sensitive information. 7. IANA Considerations IANA is requested to register the following URI in the "ns" registry within the "IETF XML Registry" group [RFC3688]: Yu, et al. Expires 6 June 2027 [Page 32] Internet-Draft Network Inventory YANG December 2026 URI: urn:ietf:params:xml:ns:yang:ietf-network-inventory 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-network-inventory Maintained by IANA? N Namespace: urn:ietf:params:xml:ns:yang:ietf-network-inventory Prefix: nwi Reference: RFC XXXX 8. References 8.1. Normative References [IANA.iana-hardware] IANA, "iana-hardware YANG Module", . [IANA.ianaentity-mib] IANA, "IANA-ENTITY-MIB", . [ISO_IEC_15418] ISO/IEC, "Information technology - Automatic identification and data capture techniques - GS1 Application Identifiers and ASC MH10 Data Identifiers and maintenance", ISO/IEC 15418:2016, March 2016, . [ISO_IEC_15459-4] ISO/IEC, "Information technology - Automatic identification and data capture techniques - Unique identifiers - Part 4: Individual products and product packages", ISO/IEC 15459-4:2014, November 2014, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, DOI 10.17487/RFC3688, January 2004, . Yu, et al. Expires 6 June 2027 [Page 33] Internet-Draft Network Inventory YANG December 2026 [RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, DOI 10.17487/RFC3986, January 2005, . [RFC6020] Bjorklund, M., Ed., "YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)", RFC 6020, DOI 10.17487/RFC6020, October 2010, . [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, . [RFC6933] Bierman, A., Romascanu, D., Quittek, J., and M. Chandramouli, "Entity MIB (Version 4)", RFC 6933, DOI 10.17487/RFC6933, May 2013, . [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", RFC 7950, DOI 10.17487/RFC7950, August 2016, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8341] Bierman, A. and M. Bjorklund, "Network Configuration Access Control Model", STD 91, RFC 8341, DOI 10.17487/RFC8341, March 2018, . [RFC8348] Bierman, A., Bjorklund, M., Dong, J., and D. Romascanu, "A YANG Data Model for Hardware Management", RFC 8348, DOI 10.17487/RFC8348, March 2018, . [RFC9911] Schönwälder, J., Ed., "Common YANG Data Types", RFC 9911, DOI 10.17487/RFC9911, December 2025, . 8.2. Informative References [I-D.ietf-ivy-network-inventory-location] Wu, B., Belotti, S., Bouquier, J., Peruzzini, F., and P. Bedard, "A YANG Data Model for Network Inventory Location", Work in Progress, Internet-Draft, draft-ietf- Yu, et al. Expires 6 June 2027 [Page 34] Internet-Draft Network Inventory YANG December 2026 ivy-network-inventory-location-06, 6 July 2026, . [I-D.ietf-ivy-network-inventory-software] Wu, B., Zhou, C., Wu, Q., and M. Boucadair, "A YANG Data Model of Network Inventory Software", Work in Progress, Internet-Draft, draft-ietf-ivy-network-inventory-software- 05, 2 November 2026, . [I-D.ietf-teas-actn-poi-applicability] Peruzzini, F., Bouquier, J., Busi, I., King, D., and D. Ceccarelli, "Applicability of Abstraction and Control of Traffic Engineered Networks (ACTN) to Packet Optical Integration (POI)", Work in Progress, Internet-Draft, draft-ietf-teas-actn-poi-applicability-21, 30 October 2026, . [I-D.ygb-ivy-passive-network-inventory] Guo, A., van caenegem, T., Davis, N., Tilocca, M., and B. Peters, "A YANG Data Model for Passive Network Inventory", Work in Progress, Internet-Draft, draft-ygb-ivy-passive- network-inventory-05, 26 May 2026, . [OpenConfig] OpenConfig Working Group, "OpenConfig Public Release v5.6.0", Release 5.6.0 , January 2026, . [RFC4152] Tesink, K. and R. Fox, "A Uniform Resource Name (URN) Namespace for the Common Language Equipment Identifier (CLEI) Code", RFC 4152, DOI 10.17487/RFC4152, August 2005, . [RFC4252] Ylonen, T. and C. Lonvick, Ed., "The Secure Shell (SSH) Authentication Protocol", RFC 4252, DOI 10.17487/RFC4252, January 2006, . [RFC6632] Ersue, M., Ed. and B. Claise, "An Overview of the IETF Network Management Standards", RFC 6632, DOI 10.17487/RFC6632, June 2012, . Yu, et al. Expires 6 June 2027 [Page 35] Internet-Draft Network Inventory YANG December 2026 [RFC7951] Lhotka, L., "JSON Encoding of Data Modeled with YANG", RFC 7951, DOI 10.17487/RFC7951, August 2016, . [RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, . [RFC8309] Wu, Q., Liu, W., and A. Farrel, "Service Models Explained", RFC 8309, DOI 10.17487/RFC8309, January 2018, . [RFC8340] Bjorklund, M. and L. Berger, Ed., "YANG Tree Diagrams", BCP 215, RFC 8340, DOI 10.17487/RFC8340, March 2018, . [RFC8453] Ceccarelli, D., Ed. and Y. Lee, Ed., "Framework for Abstraction and Control of TE Networks (ACTN)", RFC 8453, DOI 10.17487/RFC8453, August 2018, . [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/RFC8792, June 2020, . [RFC8969] Wu, Q., Ed., Boucadair, M., Ed., Lopez, D., Xie, C., and L. Geng, "A Framework for Automating Service and Network Management with YANG", RFC 8969, DOI 10.17487/RFC8969, January 2021, . [RFC9000] Iyengar, J., Ed. and M. Thomson, Ed., "QUIC: A UDP-Based Multiplexed and Secure Transport", RFC 9000, DOI 10.17487/RFC9000, May 2021, . [RFC9393] Birkholz, H., Fitzgerald-McKay, J., Schmidt, C., and D. Waltermire, "Concise Software Identification Tags", RFC 9393, DOI 10.17487/RFC9393, June 2023, . [RFC9846] Rescorla, E., "The Transport Layer Security (TLS) Protocol Version 1.3", RFC 9846, DOI 10.17487/RFC9846, July 2026, . Yu, et al. Expires 6 June 2027 [Page 36] Internet-Draft Network Inventory YANG December 2026 [RFC9907] Bierman, A., Boucadair, M., Ed., and Q. Wu, "Guidelines for Authors and Reviewers of Documents Containing YANG Data Models", BCP 216, RFC 9907, DOI 10.17487/RFC9907, March 2026, . [TMF_SD2-20] TM Forum, "SD2-20_Equipment Model", TMF MTOSI 4.0, Network Resource Fulfilment (NRF), SD2-20 , May 2008, . Appendix A. Network Inventory Tree Diagram Figure 3 shows the tree diagram of the YANG data model defined in module "ietf-network-inventory" (Section 4). Yu, et al. Expires 6 June 2027 [Page 37] Internet-Draft Network Inventory YANG December 2026 module: ietf-network-inventory +--ro network-inventory +--ro network-elements +--ro network-element* [ne-id] +--ro ne-id string +--ro ne-type? identityref +--ro uuid? yang:uuid +--ro name? string +--ro alias? string +--ro description? string +--ro software-rev* [name] | +--ro name string | +--ro revision? string | +--ro patch* [revision] | +--ro revision string +--ro mfg-name? string +--ro product-name? string +--ro product-rev? string +--ro components +--ro component* [component-id] +--ro component-id string +--ro class union +--ro uuid? yang:uuid +--ro name? string +--ro alias? string +--ro description? string +--ro software-rev* [name] | +--ro name string | +--ro revision? string | +--ro patch* [revision] | +--ro revision string +--ro mfg-name? string +--ro product-name? string +--ro hardware-rev? string +--ro mfg-date? union +--ro part-number? string +--ro serial-number? string +--ro asset-id? string +--ro is-fru? boolean +--ro uri* inet:uri +--ro parent* | -> ../../component/component-id +--ro parent-rel-pos? string +--ro is-main? boolean Figure 3: Network Inventory Tree Diagram Yu, et al. Expires 6 June 2027 [Page 38] Internet-Draft Network Inventory YANG December 2026 Appendix B. Comparison With OpenConfig Platform YANG Data Model Given that many devices implement OpenConfig, this appendix compares the OpenConfig Platform model, defined in [OpenConfig], with the base network inventory model, defined in this document, to ensure network controllers can accurately report discovered data. The OpenConfig platform data model, defined by the "openconfig- platform" and "openconfig-platform-types" modules in [OpenConfig], is a device model that uses a generic component concept to describe internal components and containers, similar to the models in [RFC8348] and in this document. Therefore, Table 2 compares the component attributes between the "openconfig-platform" YANG module in [OpenConfig] and the "ietf-network-inventory" module in Section 4. +=============+===========+===================================+===========+ |Attributes in|Attributes |Remark | | |"openconfig- |in "ietf- | | | |platform" |network- | | | | |inventory" | | | +=============+===========+===================================+===========+ |name |name |In OpenConfig the name attribute is| | | | |also a key (see Section 3.5.2) | | +-------------+-----------+-----------------------------------+-----------+ |type |class |See Table 3 for the comparison | | | | |between "oc-platform- | | | | |type:OPENCONFIG_HARDWARE_COMPONENT"| | | | |and "ianahw:hardware-class" | | +-------------+-----------+-----------------------------------+-----------+ |id | |Deprecated | | +-------------+-----------+-----------------------------------+-----------+ |location | |Deprecated | | +-------------+-----------+-----------------------------------+-----------+ |description |description| | | +-------------+-----------+-----------------------------------+-----------+ |mfg-name |mfg-name | | | +-------------+-----------+-----------------------------------+-----------+ |mfg-date |mfg-date | | | +-------------+-----------+-----------------------------------+-----------+ |hardware- |hardware- | | | |version |rev | | | +-------------+-----------+-----------------------------------+-----------+ |firmware- |software- |Items of "software-rev" list that | | |version |rev* |provide firmware information | | +-------------+-----------+-----------------------------------+-----------+ |software- |software- |Items of "software-rev" list that | | |version |rev* |provide software information | | +-------------+-----------+-----------------------------------+-----------+ Yu, et al. Expires 6 June 2027 [Page 39] Internet-Draft Network Inventory YANG December 2026 |serial-no |serial- | | | | |number | | | +-------------+-----------+-----------------------------------+-----------+ |part-no |part-number| | | +-------------+-----------+-----------------------------------+-----------+ |clei-code |uri |CLEI code can be mapped into a URI | | | | |as defined in [RFC4152] | | +-------------+-----------+-----------------------------------+-----------+ |removable |is-fru | | | +-------------+-----------+-----------------------------------+-----------+ |oper-status | |State data | | +-------------+-----------+-----------------------------------+-----------+ |empty | |If there is no other component that| | | | |refers to a holder as a parent, it | | | | |can be considered empty | | +-------------+-----------+-----------------------------------+-----------+ |parent |parent | |In | | | | |OpenConfig,| | | | |the | | | | |"parent" | | | | |data node | | | | |is a "leaf"| | | | |and not a | | | | |"leaf-list"| +-------------+-----------+-----------------------------------+-----------+ |redundant- | |Functional information, may be part| | |role | |of a future augmentation | | +-------------+-----------+-----------------------------------+-----------+ |last- | |State data | | |switchover- | | | | |reason | | | | +-------------+-----------+-----------------------------------+-----------+ |last- | |State data | | |switchover- | | | | |time | | | | +-------------+-----------+-----------------------------------+-----------+ |last-reboot- | |State data | | |reason | | | | +-------------+-----------+-----------------------------------+-----------+ |last-reboot- | |State data | | |time | | | | +-------------+-----------+-----------------------------------+-----------+ |switchover- | |State data | | |ready | | | | +-------------+-----------+-----------------------------------+-----------+ |temperature | |Performance data | | +-------------+-----------+-----------------------------------+-----------+ |memory | |Performance data | | Yu, et al. Expires 6 June 2027 [Page 40] Internet-Draft Network Inventory YANG December 2026 +-------------+-----------+-----------------------------------+-----------+ |allocated- | |State/performance data | | |power | | | | +-------------+-----------+-----------------------------------+-----------+ |used-power | |State/performance data | | +-------------+-----------+-----------------------------------+-----------+ |pcie | |Alarm data | | +-------------+-----------+-----------------------------------+-----------+ |properties | |Generic properties can be handled | | | | |as part of "description" | | +-------------+-----------+-----------------------------------+-----------+ |subcomponents| |Duplicated information with respect| | | | |to the "parent" data node, to | | | | |support reverse navigation from | | | | |parent to children components | | +-------------+-----------+-----------------------------------+-----------+ Table 2: Comparison between openconfig platform and inventory data models As mentioned in Section 3.4, state data, performance data, and alarm data are out of scope of the data model defined in this document, and they should be defined in other data models separately. For the same reason some component specific structures in "openconfig-platform", like the one defined for fan, backplane, controller-card, etc., are considered out of scope since they provide specialized operational and alarm data for those components. Table 3 compares the identities derived from "oc-platform- type:OPENCONFIG_HARDWARE_COMPONENT" with those derived from "ianahw:hardware-class". This comparison highlights that the base network inventory model aligns with the OpenConfig Platform model also regarding hardware component "type"/"class" definition. Yu, et al. Expires 6 June 2027 [Page 41] Internet-Draft Network Inventory YANG December 2026 +=====================================+===================+ | "oc-platform- | "ianahw:hardware- | | type:OPENCONFIG_HARDWARE_COMPONENT" | class" | +=====================================+===================+ | CHASSIS | chassis | +-------------------------------------+-------------------+ | BACKPLANE | backplane | +-------------------------------------+-------------------+ | FABRIC | module | +-------------------------------------+-------------------+ | POWER_SUPPLY | power-supply | +-------------------------------------+-------------------+ | FAN | fan | +-------------------------------------+-------------------+ | FAN_TRAY | module | +-------------------------------------+-------------------+ | FAN_TRAY_CONTROLLER | module | +-------------------------------------+-------------------+ | SENSOR | sensor | +-------------------------------------+-------------------+ | LINECARD | module | +-------------------------------------+-------------------+ | CONTROLLER_CARD | module | +-------------------------------------+-------------------+ | PORT | port | +-------------------------------------+-------------------+ | USB_PORT | port | +-------------------------------------+-------------------+ | TRANSCEIVER | module | +-------------------------------------+-------------------+ | CPU | cpu | +-------------------------------------+-------------------+ | STORAGE | storage-drive | +-------------------------------------+-------------------+ | INTEGRATED_CIRCUIT | module | +-------------------------------------+-------------------+ | WIFI_ACCESS_POINT | N/A (technology | | | specific) | +-------------------------------------+-------------------+ | FPGA | module | +-------------------------------------+-------------------+ Table 3: Comparison between openconfig-platform OPENCONFIG_HARDWARE_COMPONENT and IANA hardware-class derived identities Yu, et al. Expires 6 June 2027 [Page 42] Internet-Draft Network Inventory YANG December 2026 Overall, the analysis in this appendix confirms that the base network inventory YANG data model can be populated with data discovered from devices running OpenConfig. Appendix C. Efficiency Issue During the integration with Inventory OSS in some operator networks, some efficiency and scalability concerns have been discovered when synchronizing network inventory data for big networks. As outlined in Section 6, these efficiency and scalability issues can pose security issues. While implementing NACM [RFC8341] and protocol-specific filtering mechanisms (e.g., RESTCONF filtering [RFC8040]) mitigates these efficiency and scalability concerns, full resolution may require further protocol enhancements beyond the scope of this document. Considering that relational databases are widely used by existing OSS systems and also by some network controllers, the inventory objects are most likely to be saved in different tables. With the model defined in this document, when doing a full synchronization, network controller needs to convert all inventory objects of each NE into component objects and combine them together into a single list, and then construct a response and send to OSS or MDSC. The OSS or MDSC needs to classify the component list and divide them into different groups, in order to save them in different tables. The combining- regrouping steps are impacting the network controller & OSS/MDSC processing, which may result in efficiency/scalability limitations in large scale networks. An alternative YANG model structure, which defines the inventory objects directly, instead of defining generic components, has also been analyzed. However, also with this model, there still could be some scalability limitations when synchronizing full inventory resources in large scale networks. This scalability limitation is caused by the limited transmission capabilities of HTTP protocol. This scalability limitation should be solved at protocol level rather than data model level. Yu, et al. Expires 6 June 2027 [Page 43] Internet-Draft Network Inventory YANG December 2026 The model proposed by this document is designed to be as generic as possible so as to cover future special types of inventory objects that could be used in other technologies, that have not been identified yet. If the inventory objects were to be defined directly with fixed hierarchical relationships in the YANG model, this new type of inventory objects needs to be manually defined, which is not a backward compatible change and therefore is not an acceptable approach for implementation. With a generic model, it is only necessary to augment a new component class and extend some specific attributes for this new inventory component class, which is more flexible. The main scope of this document is to define the generic data model, enabling a flexible and backward compatible approach for other technologies. Solution description to efficiency/scalability limitations mentioned above is considered as out-of-scope. Appendix D. Examples of Ports This appendix provides some examples of port implementations and how they can be modelled using the "ietf-network-inventory" module defined in Section 4. Figure 4 shows an example of a single board which contains three types of port: 1. An integrated port (non-pluggable); 2. An empty port; 3. A pluggable port Yu, et al. Expires 6 June 2027 [Page 44] Internet-Draft Network Inventory YANG December 2026 +-------------------+ | +---+ | | O | 1) Non-Pluggable Port | | O | (integrated) | +---+ | | | +---------------+ | | 2) Empty hole (port) Hole #1 | | | | | | | +---------------+ | | | +---------------+ | | +---------------+ Hole #2 | | | | O | 3) Pluggable port | | | | O | | | +---------------+ | +---------------+ | | | (SLOT # 10) | +-------------------+ Figure 4: Example of a board with different types of ports D.1. JSON Examples This appendix contains an example of an instance data tree in JSON encoding [RFC7951], instantiating the "ietf-network-inventory" module to describe the three types of ports on a single board, as shown in Figure 4. =============== NOTE: '\' line wrapping per RFC 8792 ================ { "ietf-network-inventory:network-inventory": { "network-elements": { "network-element" : [ { "ne-id": "NE-1", "description": "Network element example with fixed and \ pluggable ports.", "components": { "component": [ { "component-id": "board-1", "class": "iana-hardware:module", "description": "Board example with fixed and \ Yu, et al. Expires 6 June 2027 [Page 45] Internet-Draft Network Inventory YANG December 2026 pluggable ports." }, { "component-id": "port-1", "class": "iana-hardware:port", "description": "Example of an integrated (non-\ pluggable) port.", "parent": [ "board-1" ], "parent-rel-pos": "1" }, { "component-id": "port-2", "class": "iana-hardware:port", "description": "Example of an empty pluggable port.", "parent": [ "board-1" ], "parent-rel-pos": "2" }, { "component-id": "port-3", "class": "iana-hardware:port", "description": "Example of a non-empty pluggable \ port.", "parent": [ "board-1" ], "parent-rel-pos": "3" }, { "component-id": "transceiver-module-3", "class": "iana-hardware:module", "description": "Example of a pluggable module \ plugged within a pluggable port.", "parent": [ "port-3" ], "is-fru": true } ] } } ] } } } Yu, et al. Expires 6 June 2027 [Page 46] Internet-Draft Network Inventory YANG December 2026 Appendix E. Example of Multi-chassis Network Elements This appendix provides some examples of multi-chassis network elements and how they can be modelled using the "ietf-network- inventory" module defined in Section 4. Multi-chassis network elements are network elements comprised of two or more chassis interconnected, in principle, with any topology. Stacked switches are an example of multi-chassis which consist of multiple standalone switches that are interconnected through dedicated stack ports and cables and managed as a single logical unit. Stacked switches: * are connected using a daisy-chain or a ring topology * are managed using a single IP Address * require synchronized software-upgrade * use Priority/MAC-Addr(s) to decide Main/Members selection and communication. Figure 5 and Figure 6 describe two examples of stacked switches with three switches (pizza boxes) connected in a daisy-chain or ring topology. Yu, et al. Expires 6 June 2027 [Page 47] Internet-Draft Network Inventory YANG December 2026 +--------------------------------------+ | +---+ | | | 1 | | | Chassis 1 +---+ | | +---+ | | | 2 |<----+ | +---+ | | +--------------------------------------+ | | | +--------------------------------------+ | | +---+ | | | | 1 |<----+ | Chassis 2 +---+ | | +---+ | | | 2 |<----+ | +---+ | | +--------------------------------------+ | | | +--------------------------------------+ | | +---+ | | | | 1 |<----+ | Chassis 3 +---+ | | +---+ | | | 2 | | | +---+ | +--------------------------------------+ Figure 5: Example of stacked switches in a daisy chain topology Yu, et al. Expires 6 June 2027 [Page 48] Internet-Draft Network Inventory YANG December 2026 +--------------------------------------+ | +---+ | | | 1 |<---------+ | Chassis 1 +---+ | | | +---+ | | | | 2 |<----+ | | +---+ | | | +--------------------------------------+ | | | | | | +--------------------------------------+ | | | +---+ | | | | | 1 |<----+ | | Chassis 2 +---+ | | | +---+ | | | | 2 |<----+ | | +---+ | | | +--------------------------------------+ | | | | | | +--------------------------------------+ | | | +---+ | | | | | 1 |<----+ | | Chassis 3 +---+ | | | +---+ | | | | 2 |<---------+ | +---+ | +--------------------------------------+ Figure 6: Example of stacked switches in a ring topology Using the base network inventory YANG data model, each stackable switch can be modelled as a chassis within the same network element, which models the stacked switches. The stack ports are modelled like other ports. The stack cables are not reported using the base network inventory YANG data model but can be reported using the passive network inventory YANG data model under definition in [I-D.ygb-ivy-passive-network-inventory]. Cascaded switches are another example of multi-chassis which consist of multiple standalone switches that are interconnected and managed as a single logical unit. Cascaded switches: * are usually connected in a tree topology * are managed using a single IP Address * the root of the tree is configured as Main. Yu, et al. Expires 6 June 2027 [Page 49] Internet-Draft Network Inventory YANG December 2026 Figure 7 describes an example of cascaded switches with three chassis connected in a tree topology. +----------------------------------------------+ | S1 | Chassis 1 | S20 | | S32 | |+---+| | | |+---+| || 1 || | | || 1 || |+---+| | | |+---+| | ... | | | | | |+---+| | | | | +----->| 4 || | | | ... | | |+---+| | | | | | | | | | | | | | | | | |+---+| | | | ... | | ... || 6 |<-----+ | | ... | | | |+---+| | | | | | | | | | | | | | | | ... | | | | | | | | | | | |+---+| | | |+---+| | | ||10 || | | ||10 || | | |+---+| | | |+---+| | | +----------------------------------------------+ | | | | | | +-------------------------------+ | | | S1 | Chassis 2 | S16 | | | | | | | | | | | | | | | |+---+| | | | +---> 5 || | | | |+---+| | | | | | | | | | | | | | +-------------------------------+ | | | +-------------------------------+ | | S1 | Chassis 3 | S16 | | | | | | | | | | | | | | | | | | | |+---+| | | | || 7 |<--+ | | |+---+| | | | | +-------------------------------+ Yu, et al. Expires 6 June 2027 [Page 50] Internet-Draft Network Inventory YANG December 2026 Figure 7: Example of cascaded switches in a tree topology Using the base network inventory YANG data model, each interconnected switch is modelled as a chassis component of the same network element. The ports used to interconnect these switches are normal (traffic) ports and modelled like other ports. The interconnecting cables are not reported using the base network inventory YANG data model but can be reported using the passive network inventory model under definition in [I-D.ygb-ivy-passive-network-inventory]. E.1. JSON Examples This appendix contains an example of an instance data tree in JSON encoding [RFC7951], instantiating the "ietf-network-inventory" module to describe the three examples of multi-chassis NEs, as shown in Figure 5, Figure 6, and Figure 7. Note: the base inventory model allows reporting only the chassis and ports configuration. Reporting the link between the chassis of the same NE is outside the scope of the base inventory model. The YANG data model under definition in [I-D.ygb-ivy-passive-network-inventory] as an augmentation of the base inventory YANG data model can be used to provide this additional information. =============== NOTE: '\' line wrapping per RFC 8792 ================ { "ietf-network-inventory:network-inventory": { "network-elements": { "network-element" : [ { "ne-id": "NE-1", "description": "Stack Switch in a daisy chain topology.", "components": { "component": [ { "component-id": "chassis-1", "class": "iana-hardware:chassis", "description": "First switch of the stack.", "parent-rel-pos": "1", "is-fru": true }, { "component-id": "port-1-1", "class": "iana-hardware:port", "description": "First stack port of the first \ switch in the stack.", Yu, et al. Expires 6 June 2027 [Page 51] Internet-Draft Network Inventory YANG December 2026 "parent": [ "chassis-1" ], "parent-rel-pos": "1" }, { "component-id": "port-1-2", "class": "iana-hardware:port", "description": "Second stack port of the first \ switch in the stack.", "parent": [ "chassis-1" ], "parent-rel-pos": "2" }, { "component-id": "transceiver-module-1-2", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ second stack port of the first switch in the stack.", "parent": [ "port-1-2" ], "is-fru": true }, { "component-id": "chassis-2", "class": "iana-hardware:chassis", "description": "Second switch of the stack.", "parent-rel-pos": "2", "is-fru": true }, { "component-id": "port-2-1", "class": "iana-hardware:port", "description": "First stack port of the second \ switch in the stack.", "parent": [ "chassis-2" ], "parent-rel-pos": "1" }, { "component-id": "transceiver-module-2-1", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ first stack port of the second switch in the stack.", "parent": [ Yu, et al. Expires 6 June 2027 [Page 52] Internet-Draft Network Inventory YANG December 2026 "port-2-1" ], "is-fru": true }, { "component-id": "port-2-2", "class": "iana-hardware:port", "description": "Second stack port of the second \ switch in the stack.", "parent": [ "chassis-2" ], "parent-rel-pos": "2" }, { "component-id": "transceiver-module-2-2", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ second stack port of the second switch in the stack.", "parent": [ "port-2-2" ], "is-fru": true }, { "component-id": "chassis-3", "class": "iana-hardware:chassis", "description": "Third switch of the stack.", "parent-rel-pos": "3", "is-fru": true }, { "component-id": "port-3-1", "class": "iana-hardware:port", "description": "First stack port of the third \ switch in the stack.", "parent": [ "chassis-3" ], "parent-rel-pos": "1" }, { "component-id": "transceiver-module-3-1", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ first stack port of the third switch in the stack.", "parent": [ "port-3-1" Yu, et al. Expires 6 June 2027 [Page 53] Internet-Draft Network Inventory YANG December 2026 ], "is-fru": true }, { "component-id": "port-3-2", "class": "iana-hardware:port", "description": "Second stack port of the second \ switch in the stack.", "parent": [ "chassis-3" ], "parent-rel-pos": "2" } ] } }, { "ne-id": "NE-2", "description": "Stack Switch in a ring topology.", "components": { "component": [ { "component-id": "chassis-1", "class": "iana-hardware:chassis", "description": "First switch of the stack.", "parent-rel-pos": "1", "is-fru": true }, { "component-id": "port-1-1", "class": "iana-hardware:port", "description": "First stack port of the first \ switch in the stack.", "parent": [ "chassis-1" ], "parent-rel-pos": "1" }, { "component-id": "transceiver-module-1-1", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ first stack port of the first switch in the stack.", "parent": [ "port-1-1" ], "is-fru": true }, Yu, et al. Expires 6 June 2027 [Page 54] Internet-Draft Network Inventory YANG December 2026 { "component-id": "port-1-2", "class": "iana-hardware:port", "description": "Second stack port of the first \ switch in the stack.", "parent": [ "chassis-1" ], "parent-rel-pos": "2" }, { "component-id": "transceiver-module-1-2", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ second stack port of the first switch in the stack.", "parent": [ "port-1-2" ], "is-fru": true }, { "component-id": "chassis-2", "class": "iana-hardware:chassis", "description": "Second switch of the stack.", "parent-rel-pos": "2", "is-fru": true }, { "component-id": "port-2-1", "class": "iana-hardware:port", "description": "First stack port of the second \ switch in the stack.", "parent": [ "chassis-2" ], "parent-rel-pos": "1" }, { "component-id": "transceiver-module-2-1", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ first stack port of the second switch in the stack.", "parent": [ "port-2-1" ], "is-fru": true }, { Yu, et al. Expires 6 June 2027 [Page 55] Internet-Draft Network Inventory YANG December 2026 "component-id": "port-2-2", "class": "iana-hardware:port", "description": "Second stack port of the second \ switch in the stack.", "parent": [ "chassis-2" ], "parent-rel-pos": "2" }, { "component-id": "transceiver-module-2-2", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ second stack port of the second switch in the stack.", "parent": [ "port-2-2" ], "is-fru": true }, { "component-id": "chassis-3", "class": "iana-hardware:chassis", "description": "Third switch of the stack.", "parent-rel-pos": "3", "is-fru": true }, { "component-id": "port-3-1", "class": "iana-hardware:port", "description": "First stack port of the third \ switch in the stack.", "parent": [ "chassis-3" ], "parent-rel-pos": "1" }, { "component-id": "transceiver-module-3-1", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ first stack port of the third switch in the stack.", "parent": [ "port-3-1" ], "is-fru": true }, { "component-id": "port-3-2", Yu, et al. Expires 6 June 2027 [Page 56] Internet-Draft Network Inventory YANG December 2026 "class": "iana-hardware:port", "description": "Second stack port of the third \ switch in the stack.", "parent": [ "chassis-3" ], "parent-rel-pos": "2" }, { "component-id": "transceiver-module-3-2", "class": "iana-hardware:module", "description": "Transceiver module plugged in the \ second stack port of the third switch in the stack.", "parent": [ "port-3-2" ], "is-fru": true } ] } }, { "ne-id": "NE-3", "description": "Cascaded Switch in a tree topology.", "components": { "component": [ { "component-id": "chassis-1", "class": "iana-hardware:chassis", "description": "First chassis of the cascaded switch\ .", "parent-rel-pos": "1", "is-fru": true }, { "component-id": "slot-1-1", "class": "iana-hardware:container", "description": "Slot 1 of the first chassis of the \ cascaded switch.", "parent": [ "chassis-1" ], "parent-rel-pos": "1" }, { "component-id": "card-1-1", "class": "iana-hardware:module", "description": "Card plugged into slot 1 of the \ Yu, et al. Expires 6 June 2027 [Page 57] Internet-Draft Network Inventory YANG December 2026 first chassis of the cascaded switch.", "parent": [ "slot-1-1" ], "is-fru": true }, { "component-id": "port-1-1-1", "class": "iana-hardware:port", "description": "Empty port 1 on the card plugged \ into slot 1 of the first chassis of the cascaded switch.", "parent": [ "card-1-1" ], "parent-rel-pos": "1" }, { "component-id": "port-1-1-4", "class": "iana-hardware:port", "description": "Pluggable port 4 on the card \ plugged into slot 1 of the first chassis of the cascaded switch.", "parent": [ "card-1-1" ], "parent-rel-pos": "4" }, { "component-id": "transceiver-module-1-1-4", "class": "iana-hardware:module", "description": "Transceiver module plugged in port \ 4 on the card plugged into slot 1 of the first chassis of the \ cascaded switch.", "parent": [ "port-1-1-4" ], "is-fru": true }, { "component-id": "port-1-1-10", "class": "iana-hardware:port", "description": "Empty port 10 on the card plugged \ into slot 1 of the first chassis of the cascaded switch.", "parent": [ "card-1-1" ], "parent-rel-pos": "10" }, { Yu, et al. Expires 6 June 2027 [Page 58] Internet-Draft Network Inventory YANG December 2026 "component-id": "slot-1-20", "class": "iana-hardware:container", "description": "Empty slot 20 of the first chassis \ of the cascaded switch.", "parent": [ "chassis-1" ], "parent-rel-pos": "20" }, { "component-id": "slot-1-32", "class": "iana-hardware:container", "description": "Slot 32 of the first chassis of the \ cascaded switch.", "parent": [ "chassis-1" ], "parent-rel-pos": "32" }, { "component-id": "card-1-32", "class": "iana-hardware:module", "description": "Card plugged into slot 32 of the \ first chassis of the cascaded switch.", "parent": [ "slot-1-32" ], "is-fru": true }, { "component-id": "port-1-32-1", "class": "iana-hardware:port", "description": "Empty port 1 on the card plugged \ into slot 32 of the first chassis of the cascaded switch.", "parent": [ "card-1-32" ], "parent-rel-pos": "1" }, { "component-id": "port-1-32-6", "class": "iana-hardware:port", "description": "Pluggable port 6 on the card \ plugged into slot 32 of the first chassis of the cascaded switch.", "parent": [ "card-1-32" ], "parent-rel-pos": "6" Yu, et al. Expires 6 June 2027 [Page 59] Internet-Draft Network Inventory YANG December 2026 }, { "component-id": "transceiver-module-1-32-6", "class": "iana-hardware:module", "description": "Transceiver module plugged in port \ 6 on the card plugged into slot 32 of the first chassis of the \ cascaded switch.", "parent": [ "port-1-32-6" ], "is-fru": true }, { "component-id": "port-1-32-10", "class": "iana-hardware:port", "description": "Empty port 10 on the card plugged \ into slot 32 of the first chassis of the cascaded switch.", "parent": [ "card-1-32" ], "parent-rel-pos": "10" }, { "component-id": "chassis-2", "class": "iana-hardware:chassis", "description": "Second chassis of the cascaded \ switch.", "parent-rel-pos": "2", "is-fru": true }, { "component-id": "slot-2-1", "class": "iana-hardware:container", "description": "Slot 1 of the second chassis of the \ cascaded switch.", "parent": [ "chassis-2" ], "parent-rel-pos": "1" }, { "component-id": "card-2-1", "class": "iana-hardware:module", "description": "Card plugged into slot 1 of the \ second chassis of the cascaded switch.", "parent": [ "slot-2-1" ], Yu, et al. Expires 6 June 2027 [Page 60] Internet-Draft Network Inventory YANG December 2026 "is-fru": true }, { "component-id": "port-2-1-5", "class": "iana-hardware:port", "description": "Pluggable port 5 on the card \ plugged into slot 1 of the second chassis of the cascaded switch.", "parent": [ "card-2-1" ], "parent-rel-pos": "5" }, { "component-id": "transceiver-module-2-1-5", "class": "iana-hardware:module", "description": "Transceiver module plugged in port \ 5 on the card plugged into slot 1 of the second chassis of the \ cascaded switch.", "parent": [ "port-2-1-5" ], "is-fru": true }, { "component-id": "slot-2-16", "class": "iana-hardware:container", "description": "Slot 16 of the second chassis of \ the cascaded switch.", "parent": [ "chassis-2" ], "parent-rel-pos": "16" }, { "component-id": "chassis-3", "class": "iana-hardware:chassis", "description": "Third chassis of the cascaded switch\ .", "parent-rel-pos": "3", "is-fru": true }, { "component-id": "slot-3-1", "class": "iana-hardware:container", "description": "Empty slot 1 of the third chassis \ of the cascaded switch.", "parent": [ "chassis-3" Yu, et al. Expires 6 June 2027 [Page 61] Internet-Draft Network Inventory YANG December 2026 ], "parent-rel-pos": "1" }, { "component-id": "slot-3-16", "class": "iana-hardware:container", "description": "Slot 16 of the third chassis of the \ cascaded switch.", "parent": [ "chassis-3" ], "parent-rel-pos": "16" }, { "component-id": "card-3-16", "class": "iana-hardware:module", "description": "Card plugged into slot 16 of the \ third chassis of the cascaded switch.", "parent": [ "slot-3-16" ], "is-fru": true }, { "component-id": "port-3-16-7", "class": "iana-hardware:port", "description": "Pluggable port 7 on the card \ plugged into slot 16 of the third chassis of the cascaded switch.", "parent": [ "card-3-16" ], "parent-rel-pos": "7" }, { "component-id": "transceiver-module-3-16-7", "class": "iana-hardware:module", "description": "Transceiver module plugged in port \ 7 on the card plugged into slot 16 of the third chassis of the \ cascaded switch.", "parent": [ "port-3-16-7" ], "is-fru": true } ] } } ] Yu, et al. Expires 6 June 2027 [Page 62] Internet-Draft Network Inventory YANG December 2026 } } } Appendix F. Example of Non-modular Network Elements This appendix provides some examples of non-modular network elements and how they can be modelled using the "ietf-network-inventory" module defined in Section 4. Non-modular network elements (also known as "pizza boxes") are network elements comprised of a single chassis as a self-contained system. A non-modular network element does not have any slots to take cards so it cannot take any field-replaceable modules other than pluggable ports. Figure 8 describes an example of a pizza box with 8 ports. +-------------------------------------------------+ | +---+ +---+ +---+ +---+ +---+ +---+ +---+ +---+ | | | 1 | | 2 | | 3 | | 4 | | 5 | | 6 | | 7 | | 8 | | | +---+ +---+ +---+ +---+ +---+ +---+ +---+ +---+ | +-------------------------------------------------+ Figure 8: Example of an 8 ports pizza box device Using the base network inventory YANG data model a non-modular network element can be modelled as a network element containing only one chassis and ports (as child components of the chassis). Reporting the single chassis component within a non-modular network element is required because the chassis component is the type of component which provides the physical characteristics of the network element chassis (the network element is defined just as an assembly of components) and its location, using the network inventory YANG data model under definition in [I-D.ietf-ivy-network-inventory-location]. F.1. JSON Examples This appendix contains an example of an instance data tree in JSON encoding [RFC7951], instantiating the "ietf-network-inventory" module to describe the pizza box example, as shown in Figure 8. Yu, et al. Expires 6 June 2027 [Page 63] Internet-Draft Network Inventory YANG December 2026 { "ietf-network-inventory:network-inventory": { "network-elements": { "network-element" : [ { "ne-id": "Pizza-box-NE", "description": "Example of a pizza box NE.", "components": { "component": [ { "component-id": "pizza-chassis", "class": "iana-hardware:chassis", "description": "Pizza box chassis.", "is-fru": true }, { "component-id": "port-1", "class": "iana-hardware:port", "description": "Port 1 of the pizza box.", "parent": [ "pizza-chassis" ], "parent-rel-pos": "1" }, { "component-id": "port-2", "class": "iana-hardware:port", "description": "Port 2 of the pizza box.", "parent": [ "pizza-chassis" ], "parent-rel-pos": "2" }, { "component-id": "port-3", "class": "iana-hardware:port", "description": "Port 3 of the pizza box.", "parent": [ "pizza-chassis" ], "parent-rel-pos": "3" }, { "component-id": "port-4", "class": "iana-hardware:port", "description": "Port 4 of the pizza box.", "parent": [ "pizza-chassis" Yu, et al. Expires 6 June 2027 [Page 64] Internet-Draft Network Inventory YANG December 2026 ], "parent-rel-pos": "4" }, { "component-id": "port-5", "class": "iana-hardware:port", "description": "Port 5 of the pizza box.", "parent": [ "pizza-chassis" ], "parent-rel-pos": "5" }, { "component-id": "port-6", "class": "iana-hardware:port", "description": "Port 6 of the pizza box.", "parent": [ "pizza-chassis" ], "parent-rel-pos": "6" }, { "component-id": "port-7", "class": "iana-hardware:port", "description": "Port 7 of the pizza box.", "parent": [ "pizza-chassis" ], "parent-rel-pos": "7" }, { "component-id": "port-8", "class": "iana-hardware:port", "description": "Port 8 of the pizza box.", "parent": [ "pizza-chassis" ], "parent-rel-pos": "8" } ] } } ] } } } Yu, et al. Expires 6 June 2027 [Page 65] Internet-Draft Network Inventory YANG December 2026 Acknowledgments The authors of this document would like to thank the authors of [I-D.ietf-teas-actn-poi-applicability] for having identified the gap and requirements to trigger this work. The authors of this document would like to thank Adrian Farrel, Alexander Clemm, Brad Peters, Camilo Cardona, Daniele Ceccarelli, Gabriele Galimberti, Jan Lindblad, Joe Clarke, Mahesh Jethanandani, Mohamed Boucadair, Prasenjit Manna, Rob Wilton, Qin Wu, Qiufang Ma, and Swamynathan Balasundaram for their valuable input to the technical discussions during the development of this document. The authors would like to thank Reshad Rahman for his YANG Doctors review. The authors would like to thank Valery Smyslov, Samier Barguil, and Elwyn Davies for their Security Area Directorate (secdir), Operations and Management Area (OPS) Directorate (opsdir), and General Area Review Team (genart) reviews. The authors would like to thank Linda Dunbar and Haoyu Song for their Routing Area Directorate (Rtgdir) and Internet Area Directorate (Intdir) telechat reviews. This document was prepared using kramdown. Contributors Aihua Guo Futurewei Technologies Email: aihuaguo.ietf@gmail.com Victor Lopez Nokia Email: victor.lopez@nokia.com Bo Wu Huawei Technologies Email: lana.wubo@huawei.com Chenfang Zhang China Unicom Email: zhangcf80@chinaunicom.cn Yu, et al. Expires 6 June 2027 [Page 66] Internet-Draft Network Inventory YANG December 2026 Oscar Gonzalez de Dios Telefonica Email: oscar.gonzalezdedios@telefonica.com Nigel Davis Ciena Email: ndavis@ciena.com Roberto Manzotti Cisco Email: rmanzott@cisco.com Authors' Addresses Chaode Yu Huawei Technologies Email: yuchaode@huawei.com Sergio Belotti Nokia Email: s.belotti.ietf@gmail.com Jean-Francois Bouquier Vodafone Email: jeff.bouquier@vodafone.com Fabio Peruzzini FiberCop Email: fabio.peruzzini@fibercop.com Phil Bedard Cisco Email: phbedard@cisco.com Italo Busi Huawei Technologies Email: italo.busi@huawei.com Yu, et al. Expires 6 June 2027 [Page 67]