Internet-Draft | Network Inventory Software | October 2023 |
Wu, et al. | Expires 20 April 2024 | [Page] |
This document defines the YANG model for network inventory software extensions to support more comprehensive software components and software-enabled network devices, e.g. virtual Provider Edge (PE), virtul Fire Wall (FW).¶
This document augments the 'ietf-network-inventory' data model defined in xxx by adding the software components identification and new Network Element (NE) type.¶
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 20 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.¶
The Network Inventory support the inventory management of all the network devices, hardware components, firmware components, and software components on the a managed network domain. Examples of inventory hardware components could be rack, shelf, slot, board and physical port. Examples of inventory software components could be platform operating system (OS), software-patch, bios, and boot-loader.¶
This document extends the 'ietf-network-inventory' model for software extensions by adding the software components identification and new Network Element (NE) type, which supports more comprehensive software components and software-enabled network devices, e.g. virtual Provider Edge (PE), virtul Fire Wall (FW).¶
The YANG data model in Section 5 conforms to the Network Management Datastore Architecture (NMDA) [RFC8342].¶
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.¶
The base network inventory model supports the software versions of NEs and software versions of hardware components. This document adds more software component identifiers (e.g. platformos, software patch) and more NE types (e.g. virtual NE) to provide enhanced software information on the NE to facilitate software compatibility check.¶
Figure Figure 1 depicts the relationship between the Software Extension model and other models. The Software Extension network inventory model enhances the model defined in the base network inventory model.¶
The following tree diagram [RFC8340] provides an overview of the data model for "ietf-network-inventory-sw-ext" module.¶
module: ietf-network-inventory-sw-ext augment /ni:network-elements/ni:network-element: +--rw virtual-ne-attributes augment /ni:network-elements/ni:network-element/ni:components/ni:component: +--rw software-module-specific-info¶
The "ietf-network-inventory-sw-ext" module uses types defined in xxxx.¶
<CODE BEGINS> file="ietf-network-inventory-sw-ext@2023-10-19.yang" module ietf-network-inventory-sw-ext { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-network-inventory-sw-ext"; prefix nis; import ietf-network-inventory { prefix ni; reference "RFCxxxx: IETF Network Inventory"; } organization "IETF Network Inventory YANG (ivy) Working Group"; contact "WG Web: <https://datatracker.ietf.org/wg/ivy> WG List: <mailto:inventory-yang@ietf.org> Editor: Bo Wu <lana.wubo@huawei.com> Editor: Cheng Zhou <zhouchengyjy@chinamobile.com> Editor: Qin Wu <bill.wu@huawei.com> Editor: Mohamed Boucadair <mohamed.boucadair@orange.com>"; description "This YANG module defines a model for network inventory software extensions. Copyright (c) 2023 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Revised BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices. 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 2023-10-19 { description "Initial version"; reference "RFC XXXX: A YANG Data Model for Network Inventory Software Extensions."; } identity ne-virtual { base ni:ne-type; description "A virtual network element (NE). "; } identity software-component { base ni:non-hardware-component; description "Base identity for software components in a managed device."; } identity operating-system { base software-component; description "OS software type."; } identity operating-system-patch { base software-component; description "An operating system update - which should be a subcomponent of the `operating-system` running on a component. A patch is defined to be a set of software changes that are atomically installed (and uninstalled) together. "; } identity bios { base software-component; description "Legacy BIOS or UEFI firmware interface responsible for initializing hardware components and first stage boot loader."; } identity boot-loader { base software-component; description "Software layer responsible for loading and booting the device OS or network OS."; } identity software-module { base software-component; description "A base identity for software modules installed and/or running on the device. Modules include user-space programs and kernel modules that provide specific functionality. A component with type SOFTWARE_MODULE should also have a module type that indicates the specific type of software module"; } grouping software-module-specific-info-grouping { //To be enriched in the future. description "Specific attributes applicable to Software Modules only."; } /* Main blocks */ augment "/ni:network-elements/ni:network-element" { description "Augment network element (NE) attributes."; container virtual-ne-attributes { when "derived-from-or-self(../ni:ne-type,'ne-virtual')"; description "Container for the attributes applicable only to virtual Network Elements (NEs)."; //To be enriched in the future. } } augment "/ni:network-elements/ni:network-element/ni:components/" + "ni:component" { description "Augment component attributes."; container software-module-specific-info { when "derived-from-or-self(../ni:class,'software-module')"; description "This container contains some attributes belong to Software Modules only."; uses software-module-specific-info-grouping; } } } <CODE ENDS>¶
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>>>¶
This document registers a URI in the "IETF XML Registry" [RFC3688]. Following the format in [RFC3688], the following registration has been made.¶
URI: urn:ietf:params:xml:ns:yang:ietf-network-inventory-sw-ext Registrant Contact: The IESG. XML: N/A, the requested URI is an XML namespace.¶
This document registers a YANG module in the "YANG Module Names" registry[RFC7950] .¶
name: ietf-network-inventory-sw-ext namespace: urn:ietf:params:xml:ns:yang:ietf-network-inventory-sw-ext prefix: nis maintained by IANA: N reference: RFC xxxx¶
TBD¶