yumaworks-app-common

Common CLI parameters used in all yumapro applications. Copyright (c) 2012 - 2021 YumaWorks, Inc. All rights reserved. Redistr...

  • Version: 2021-08-24

    yumaworks-app-common@2021-08-24


    
      module yumaworks-app-common {
    
        yang-version 1;
    
        namespace
          "http://yumaworks.com/ns/yumaworks-app-common";
    
        prefix ywapp;
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import yuma-ncx {
          prefix ncx;
        }
        import yuma-types {
          prefix yt;
        }
        import yumaworks-types {
          prefix ywt;
        }
    
        organization "YumaWorks, Inc.";
    
        contact
          "Support <support at yumaworks.com>";
    
        description
          "Common CLI parameters used in all yumapro applications.
    
    Copyright (c) 2012 - 2021 YumaWorks, Inc. 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 BSD 3-Clause License
    http://opensource.org/licenses/BSD-3-Clause";
    
        revision "2021-08-24" {
          description
            "Add HaStatusParms grouping.
    Add HaRoleState typedef.";
        }
    
        revision "2019-05-22" {
          description
            "Add WithTermMsgParm grouping.
    Add MaxStrlenParm grouping.";
        }
    
        revision "2019-03-30" {
          description
            "Add binary-display-maxlen parameter in
    BinaryDisplayMaxlenParm grouping";
        }
    
        revision "2018-06-26" {
          description
            "Move SshKeyParms and SslKeyParms to this module
    so they can be shared by yumaworks-sesmgr";
        }
    
        revision "2018-03-26" {
          description
            "Add ErrMsgParm and ErrMsgLangParm groupings.
    Add ModuleTagParm grouping";
        }
    
        revision "2018-03-08" {
          description
            "Add InsecureOkParm grouping";
        }
    
        revision "2018-01-07" {
          description
            "Add LoadPathParm grouping";
        }
    
        revision "2017-04-27" {
          description
            "Add OcPatternParm grouping";
        }
    
        revision "2016-04-11" {
          description
            "Add AnnotationParm grouping";
        }
    
        revision "2014-02-14" {
          description
            "Add UseSesssionVars CLI variable grouping.
    Add SaveSesssionVars CLI variable grouping.
    Add DataTemplateParms grouping.";
        }
    
        revision "2013-08-13" {
          description
            "Split log-vendor and log-vendor-level parameters into
    their own grouping.";
        }
    
        revision "2013-05-25" {
          description
            "Add log-console param as user friendly synonym
    for log-mirroring.";
        }
    
        revision "2013-02-11" {
          description
            "Move common yangcli-pro grouping to this module";
        }
    
        revision "2012-11-30" {
          description
            "Add message-indent parameter.";
        }
    
        revision "2012-10-23" {
          description
            "Remove log-custom and log-localtime empty leafs and convert
              to "bits" entity: log-header="custom localtime".";
        }
    
        revision "2012-10-10" {
          description
            "Change log-backtrace-level to and add log-backtrace-stream
    parameters as 'bits' type entities. Eliminate
    log-backtrace-xxx 'type empty' leafs.";
        }
    
        revision "2012-08-16" {
          description
            "Split from yuma-app-common; Add new logging parameters.";
        }
    
    
        typedef HaRoleState {
          type enumeration {
            enum "none" {
              value 0;
              description "HA_STATE_NONE";
            }
            enum "disabled" {
              value 1;
              description "HA_STATE_DISABLED";
            }
            enum "error" {
              value 2;
              description "HA_STATE_ERROR";
            }
            enum "wait-role" {
              value 3;
              description "HA_STATE_WAIT_ROLE";
            }
            enum "be-active" {
              value 4;
              description "HA_STATE_BE_ACTIVE";
            }
            enum "active" {
              value 5;
              description "HA_STATE_ACTIVE";
            }
            enum "be-standby" {
              value 6;
              description "HA_STATE_BE_STANDBY";
            }
            enum "standby" {
              value 7;
              description "HA_STATE_STANDBY";
            }
            enum "shutting-down" {
              value 8;
              description
                "HA_STATE_SHUTTING_DOWN";
            }
          }
          description
            "YP-HA role state enumerations";
        }
      }  // module yumaworks-app-common
    

© 2023 YumaWorks, Inc. All rights reserved.