junos-es-conf-isdn

Junos isdn configuration module

  • Version: 2019-01-01

    junos-es-conf-isdn@2019-01-01


    
      module junos-es-conf-isdn {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-es/conf/isdn";
    
        prefix jc-isdn;
    
        import junos-common-ddl-extensions {
          prefix junos;
          revision-date "2019-01-01";
        }
        import junos-common-types {
          prefix jt;
          revision-date "2019-01-01";
        }
        import junos-es-conf-root {
          prefix jc;
          revision-date "2019-01-01";
        }
    
        organization "Juniper Networks, Inc.";
    
        contact "yang-support@juniper.net";
    
        description
          "Junos isdn configuration module";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        augment /jc:configuration {
          uses isdn-group;
        }
    
        augment /jc:configuration/jc:groups {
          uses isdn-group;
        }
    
        grouping isdn-group {
          container isdn {
            status deprecated;
            description
              "ISDN process configuration";
            uses apply-advanced;
    
            container traceoptions {
              junos:must "(!(("system processes isdn-signaling traceoptions" && "isdn traceoptions")))";
              junos:must-message "ISDN traceoptions should be configured only under [system processes isdn-signaling]";
              description
                "Trace options for ISDN signaling process";
              uses apply-advanced;
    
              leaf no-remote-trace {
                junos:must "("system tracing")";
                junos:must-message "'no-remote-trace' is valid only when [system tracing] is configured";
                type empty;
                description
                  "Disable remote tracing";
              }
    
              container file {
                description
                  "Trace file information";
                leaf filename {
                  type string {
                    junos:posix-pattern "![/ %]";
                    junos:pattern-message "Must not contain '/', % or a space";
                    length "1 .. 1024";
                  }
                  description
                    "Name of file in which to write trace information";
                }
    
                leaf size {
                  type string;
                  description
                    "Maximum trace file size";
                }
    
                leaf files {
                  type union {
                    type string {
                      pattern "<.*>|$.*";
                    }
                    type uint32 {
                      range "2 .. 1000";
                    }
                  }
                  default "3";
                  description
                    "Maximum number of trace files";
                }
    
                choice world-readable-choice {
                  leaf world-readable {
                    type empty;
                    description
                      "Allow any user to read the log file";
                  }
                  leaf no-world-readable {
                    type empty;
                    description
                      "Don't allow any user to read the log file";
                  }
                }  // choice world-readable-choice
    
                leaf match {
                  type jt:regular-expression;
                  description
                    "Regular expression for lines to be logged";
                }
              }  // container file
    
              list flag {
                key "name";
                ordered-by user;
                description
                  "One or more event types to include in trace";
                leaf name {
                  type enumeration {
                    enum "daemon" {
                      value 0;
                      description
                        "ISDN process events";
                    }
                    enum "stack" {
                      value 1;
                      description
                        "ISDN stack events";
                    }
                    enum "all" {
                      value 2;
                      description "All events";
                    }
                  }
                }
              }  // list flag
            }  // container traceoptions
          }  // container isdn
        }  // grouping isdn-group
    
        grouping apply-advanced {
          description
            "Apply advanced configuration logic";
          leaf-list apply-groups {
            type string;
            ordered-by user;
            description
              "Groups from which to inherit configuration data";
          }
    
          leaf-list apply-groups-except {
            type string;
            ordered-by user;
            description
              "Don't inherit configuration data from these groups";
          }
    
          list apply-macro {
            key "name";
            ordered-by user;
            description
              "Macro and parameters for commit script expansion";
            uses apply-macro-type;
          }  // list apply-macro
        }  // grouping apply-advanced
    
        grouping apply-macro-type {
          description
            "Macro data for commit-script expansion";
          leaf name {
            type string;
            description
              "Name of the macro to be expanded";
          }
    
          list data {
            key "name";
            uses macro-data-type;
          }  // list data
        }  // grouping apply-macro-type
    
        grouping macro-data-type {
          leaf name {
            type string;
            description
              "Keyword part of the keyword-value pair";
          }
    
          leaf value {
            type string;
            description
              "Value part of the keyword-value pair";
          }
        }  // grouping macro-data-type
      }  // module junos-es-conf-isdn
    

© 2023 YumaWorks, Inc. All rights reserved.