Junos jsrc configuration module
Version: 2019-01-01
module junos-nfx-conf-jsrc { yang-version 1; namespace "http://yang.juniper.net/junos-nfx/conf/jsrc"; prefix jc-jsrc; 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 jsrc configuration module"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } augment /jc:configuration { uses jsrc-group; } augment /jc:configuration/jc:groups { uses jsrc-group; } grouping jsrc-group { container jsrc { description "JSRC partition configuration"; uses jsrc-options; } // container jsrc } // grouping jsrc-group grouping jsrc-options { uses apply-advanced; list partition { key "name"; ordered-by user; description "JSRC partition definition"; leaf name { type string { length "1 .. 63"; } description "JSRC partition name"; } uses apply-advanced; leaf diameter-instance { junos:must "("diameter origin")"; junos:must-message "Diameter origin must be defined in the [edit diameter origin] hierarchy"; type string { length "1 .. 63"; } description "JSRC diameter instance"; } leaf destination-realm { type string { length "1 .. 63"; } description "JSRC destination realm"; } leaf destination-host { type string { length "1 .. 63"; } description "JSRC destination host"; } } // list partition } // grouping jsrc-options 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-jsrc
© 2023 YumaWorks, Inc. All rights reserved.