nokia-types-operation

Common operation types data types used in the SR OS management system. Copyright 2016 Nokia. All rights reserved. Reproduction ...

  • Version: 2021-04-14

    nokia-types-operation@2021-04-14


    
      module nokia-types-operation {
    
        yang-version 1.1;
    
        namespace
          "urn:nokia.com:sros:ns:yang:sr:types-operation";
    
        prefix types-operation;
    
        import ietf-yang-types {
          prefix yang;
        }
        import nokia-sros-yang-extensions {
          prefix sros-ext;
        }
    
        organization "Nokia";
    
        contact
          "Nokia SR OS Support
             Web: <http://www.nokia.com>";
    
        description
          "Common operation types data types used in the SR OS management system.
    
             Copyright 2016 Nokia. All rights reserved. Reproduction of this document
             is authorized on the condition that the foregoing copyright notice is included.
    
             This nokia-types-operation YANG module embodies Nokia's proprietary
             intellectual property. Nokia retains all title and ownership in the
             specification, including any revisions.
    
             Nokia grants all interested parties a non-exclusive license to use
             and distribute an unmodified copy of this specification in connection with
             management of Nokia products, and without fee, provided this
             copyright notice and license appear on all copies.
    
             This specification is supplied `as is', and Nokia makes no warranty,
             either express or implied, as to the use, operation, condition, or performance
             of the specification.";
    
        revision "2021-04-14";
        sros-ext:sros-major-release "rel24";
    
        typedef operation-asynchronous {
          type boolean;
          description
            "Describes the execution type of the operation.";
        }
    
        typedef operation-id {
          type uint16 {
            range "1..10000";
          }
          description
            "ID that uniquely identifies the operation.";
        }
    
        typedef operation-message {
          type string {
            length "1..255";
          }
          description
            "Error/warning/info message reported by operations.";
        }
    
        typedef operation-op-table-bypass {
          type boolean;
          description
            "Describes whether the operation receives an operation-id";
        }
    
        typedef operation-path {
          type string;
          description
            "Describes model path information related to operation. Formatted as xpath.";
        }
    
        typedef operation-status {
          type enumeration {
            enum "in-progress" {
              value 0;
            }
            enum "completed" {
              value 1;
            }
            enum "terminated-incomplete" {
              value 2;
            }
          }
          description
            "Describes the status of an operation.";
        }
    
        typedef operation-timeout {
          type union {
            type uint32 {
              range "1..604800";
            }
            type enumeration {
              enum "never" {
                value 0;
              }
            }
          }
          units "seconds";
          description
            "Timeout for operation execution or its data retention.";
        }
    
        typedef operation-timestamp {
          type yang:date-and-time;
          description
            "Timestamp for operation-related events.";
        }
      }  // module nokia-types-operation
    

© 2023 YumaWorks, Inc. All rights reserved.