openconfig-platform-software

This module defines data related to software components in the openconfig-platform model

  • Version: 2021-06-16

    openconfig-platform-software@2021-06-16


    
      module openconfig-platform-software {
    
        yang-version 1;
    
        namespace
          "http://openconfig.net/yang/platform/software-module";
    
        prefix oc-sw-module;
    
        import openconfig-platform {
          prefix oc-platform;
        }
        import openconfig-extensions {
          prefix oc-ext;
        }
    
        organization "OpenConfig working group";
    
        contact
          "OpenConfig working group
          www.openconfig.net";
    
        description
          "This module defines data related to software components in
          the openconfig-platform model";
    
        revision "2021-06-16" {
          description
            "Remove trailing whitespace";
          reference
            "0.1.1";
    
        }
    
        revision "2021-01-18" {
          description "Initial revision.";
          reference
            "0.1.0";
    
        }
    
        oc-ext:openconfig-version "0.1.1";
        oc-ext:catalog-organization "openconfig";
        oc-ext:origin "openconfig";
    
        identity SOFTWARE_MODULE_TYPE {
          description
            "Base identity for defining various types of software
          modules.";
        }
    
        identity USERSPACE_PACKAGE_BUNDLE {
          base SOFTWARE_MODULE_TYPE;
          description
            "A collection of userspace software modules that are grouped, and
          possibly versioned, together.  A package bundle may have
          subcomponents that represent individual elements in the bundle
          and their properties.";
        }
    
        identity USERSPACE_PACKAGE {
          base SOFTWARE_MODULE_TYPE;
          description
            "An individual software package that runs in user space. The
          package may be part of a package bundle.";
        }
    
        grouping sw-module-state {
          description
            "Operational state data for software module components";
          leaf module-type {
            type identityref {
              base SOFTWARE_MODULE_TYPE;
            }
            description
              "Type of the software module";
          }
        }  // grouping sw-module-state
    
        augment /oc-platform:components/oc-platform:component/oc-platform:software-module/oc-platform:state {
          description
            "Adding software module operational data to physical inventory.
            This subtree is only valid when the type of the component is
            SOFTWARE_MODULE.";
          uses sw-module-state;
        }
      }  // module openconfig-platform-software
    

© 2023 YumaWorks, Inc. All rights reserved.