Junos dialer configuration module
Version: 2019-01-01
module junos-nfx-conf-dialer { yang-version 1; namespace "http://yang.juniper.net/junos-nfx/conf/dialer"; prefix jc-dialer; 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-nfx-conf-root { prefix jc; revision-date "2019-01-01"; } organization "Juniper Networks, Inc."; contact "yang-support@juniper.net"; description "Junos dialer configuration module"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } augment /jc:configuration { uses dialer-group; } augment /jc:configuration/jc:groups { uses dialer-group; } grouping dialer-group { container dialer { status deprecated; description "Dialer services configuration"; uses apply-advanced; container traceoptions { junos:must "(!(("system processes dialer-services traceoptions" && "dialer traceoptions")))"; junos:must-message "Dialer traceoptions should be configured only under [system processes dialer-services]"; description "Trace options for dialer services"; 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 message or event types to include in trace"; leaf name { type enumeration { enum "config" { value 0; description "Dialer configuration messages"; } enum "kernel" { value 1; description "Messages from the kernel"; } enum "route" { value 2; description "Route and next-hop messages for dialer watch"; } enum "interface" { value 3; description "Interface-related events"; } enum "error" { value 4; description "Error messages"; } enum "memory" { value 5; description "Memory allocation or deallocation messages"; } enum "all" { value 6; description "All messages and events"; } } } } // list flag } // container traceoptions } // container dialer } // grouping dialer-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-nfx-conf-dialer
© 2023 YumaWorks, Inc. All rights reserved.