Internet-Draft | Network Inventory Management | October 2023 |
Wu, et al. | Expires 21 April 2024 | [Page] |
This document defines a base YANG data model for network inventory that is application- and technology-agnostic. This data model can be augmented with application-specific and technology-specific details in other, more specific network inventory data models.¶
This document is meant to help IVY base Network Inventory model discussion and ease agreement on a base model that would be flexible enough to be augmented with components that are covered by the IVY Charter.¶
The hardware components definition are adapted from draft-ietf-ccamp-network-inventory-yang-02.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 21 April 2024.¶
Copyright (c) 2023 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.¶
Network inventory is a foundation for all types of network management. Network operators need to keep track of the equipment planned and installed in their networks (including product name, manufacturer, product family, embedded software, and hardware/software version). Building a network inventory from management system can be used to control and monitor the actual devices/instances in the network and expose this information in a consistent way to applications that would consume that data. This document does not make any assumptions on these applications.¶
Network Inventory is a collection of data for network devices and their components managed by a specific management system. Per the definition of [RFC8969],the network inventory model is a network model.¶
The purpose of this document is to define a base network inventory YANG data model that is application- and technology-agnostic. The base data model can be augmented to describe application-specific or technology-specific information.¶
The YANG data model defined in this document conforms to [RFC8342].¶
Section 4 provides a set of augmentation consideration for extensions of hardware, software, entitlement, and inventory topology mapping.¶
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.¶
This document defines the following terms:¶
The network element definition is generalized to support physical devices and other types of inventory objects (e.g., virtual network elements) that can be managed as physical network elements from an inventory perspective. The data model for Network Element presented in this document uses a flat list of network element. Each network element in the list is identified by its identifier, "ne-id". Furthermore, each network element has a "ne-type" leaf.¶
The "ne-type" leaf is a YANG identity that describes the type of the network element. This document defines "physical-network-element" identity.¶
The component definition is also generalized to support any type of component, such as hardware, software, or firmware.¶
The component "class" is defined as a union between the hardware class identity, defined in "iana-hardware", and the "non-hardware" identity, defined in this document.¶
The identity definition of additional types of "ne-type" and "non-hardware" identity of component are outside the scope of this document and could be defined in application-specific or technology-specific companion augmentation data models, such as [I-D.wzwb-ivy-network-inventory-software].¶
+--rw network-elements +--rw network-element* [ne-id] +--rw ne-id string +--rw ne-type? identityref ............................................ +--rw components +--rw component* [component-id] +--rw component-id string +--rw class union ......................................¶
Some of the hardware and software attributes defined in Section 3.1 of [RFC7317] are borrowed, such as platform-os version and machine. To be consistent with the component definition, some of the attributes defined in [RFC8348] for components are reused for network elements. These attributes include:¶
Note: Whether the identity of device-type (e.g., optical device, router) is defined in the base model is to be discussed.¶
The component definition is generalized to both hardware components and non-hardware components (e.g., software components).¶
The modelling of the hardware components of network elements mainly follow the same approach of [RFC8348]. The hardware components are reported in the list of components of a network element and for each component the mandatory 'class' leaf is used indicate the type of component (e.g., chassis, module, and port).¶
The relationship between typical inventory objects in a physical network element can be described as shown in Figure 3:¶
The "iana-hardware" module [IANA_YANG] defines YANG identities for the hardware component types in the IANA-maintained "IANA-ENTITY-MIB" registry. Some of the definitions taken from [RFC8348] are actually based on the ENTITY-MIB [RFC6933].¶
For the additional attributes of specific hardware, such as CPU, storage, port, power supply is defined in the hardware extension.¶
This document defines "software-rev" of NEs and components, which are basic software attributes of a Network Element.¶
The software and hardware components share the same attributes of the component and have similar replaceable requirements. Generally, the device also has other software data, for example, one or more software patch information. The software components of other classes, such as platform software, BIOS, bootloader, and software patch information, defined in the software extension [I-D.wzwb-ivy-network-inventory-software].¶
Note: Whether the software patch is in the base inventory model is to be discussed.¶
This document defines the basic network inventory attributes applicable to typical network scenarios. For finer-grained and specific management scenarios, the relationship between this model and other models is illustrated in Figure 4.¶
The following tree diagram [RFC8340] provides an overview of "ietf-network-inventory" module.¶
module: ietf-network-inventory +--rw network-elements +--rw network-element* [ne-id] +--rw ne-id string +--rw ne-type? identityref +--rw uuid? yang:uuid +--rw name? string +--rw description? string +--rw alias? string +--rw hardware-rev? string +--rw software-rev? string +--rw mfg-name? string +--rw mfg-date? yang:date-and-time +--rw part-number? string +--rw serial-number? string +--rw product-name? string +--rw components +--rw component* [component-id] +--rw component-id string +--rw uuid? yang:uuid +--rw name? string +--rw description? string +--rw alias? string +--rw class? union +--rw contained-child* -> ../component-id +--rw parent-rel-pos? int32 +--rw parent-component-ref +--rw hardware-rev? string +--rw firmware-rev? string +--rw software-rev? string +--rw serial-num? string +--rw mfg-name? string +--rw part-number? string +--rw asset-id? string +--rw is-fru? boolean +--rw mfg-date? yang:date-and-time +--rw uri* inet:uri¶
The YANG module specified in this document defines a data schema designed to be accessed through network management protocols such as NETCONF [RFC6241] or RESTCONF [RFC8040]. The lowest NETCONF layer is the secure transport layer, and the required secure transport is Secure Shell (SSH) [RFC6242]. The lowest RESTCONF layer is HTTPS, and the required secure transport is TLS [RFC8446].¶
The Network Configuration Access Control Model (NACM) [RFC8341] provides a means of restricting access to specific NETCONF or RESTCONF users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and contents. Thus, NACM SHOULD be used to restrict the NSF registration from unauthorized users.¶
There are a number of data nodes defined in this YANG module that are writable, creatable, and deletable (i.e., config true, which is the default). These data nodes may be considered sensitive or vulnerable in some network environments. Write operations to these data nodes could have a negative effect on network and security operations.¶
Some of the readable data nodes in this YANG module may be considered sensitive or vulnerable in some network environments. It is thus important to control read access (e.g., via get, get-config, or notification) to these data nodes. These are the subtrees and data nodes and their sensitivity/vulnerability:¶
<<<to be completed>>>¶
TBD¶