huawei-trustem

Indicate TPM (Trusted Platform Module) environment management.

  • Version: 2021-05-08

    huawei-trustem@2021-05-08


    
      module huawei-trustem {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-trustem";
    
        prefix trustem;
    
        import huawei-extension {
          prefix ext;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
         Bantian, Longgang
         Shenzhen 518129
         People's Republic of China
         Website: http://www.huawei.com
         Email: support@huawei.com";
    
        description
          "Indicate TPM (Trusted Platform Module) environment management.";
    
        revision "2021-05-08" {
          description "Fix description.";
          reference
            "Huawei private.";
    
        }
    
        revision "2021-02-23" {
          description
            "Add trust-startup-softwares.";
          reference
            "Huawei private.";
    
        }
    
        revision "2020-04-02" {
          description "YANG check.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-05-27" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "tpm";
    
        typedef status-type {
          type enumeration {
            enum "active" {
              value 1;
              description "Status active.";
            }
          }
          description "TPM status.";
        }
    
        container trustem {
          config false;
          description
            "Indicate trust environment management.";
          container statuss {
            description
              "List of operational state of TPM status information.";
            list status {
              key "slot-id";
              description
                "Operational state of TPM status information.";
              leaf slot-id {
                type string {
                  length "1..32";
                }
                description
                  "Slot ID of a board.";
              }
    
              leaf version {
                type string {
                  length "1..127";
                }
                description "TPM version.";
              }
    
              leaf manufacturer {
                type string {
                  length "1..127";
                }
                description "TPM manufacturer.";
              }
    
              leaf status {
                type status-type;
                description "TPM status.";
              }
            }  // list status
          }  // container statuss
    
          container trust-startup-softwares {
            config false;
            description
              "List of software files information measured by TPM.";
            list trust-startup-software {
              key "name version file";
              description
                "Operational data of software file information measured by TPM.";
              leaf name {
                type string {
                  length "1..63";
                }
                description
                  "Software file description information.";
              }
    
              leaf version {
                type string {
                  length "1..63";
                }
                description
                  "Software file version.";
              }
    
              leaf file {
                type string {
                  length "1..255";
                }
                description
                  "Software file name on device.";
              }
    
              leaf checksum {
                type string {
                  length "1..127";
                }
                description
                  "Hash value of the file.";
              }
            }  // list trust-startup-software
          }  // container trust-startup-softwares
        }  // container trustem
      }  // module huawei-trustem
    

© 2023 YumaWorks, Inc. All rights reserved.