Junos RPC YANG module for set command(s)
Version: 2019-01-01
module junos-ex-rpc-set { yang-version 1; namespace "http://yang.juniper.net/junos-ex/rpc/set"; prefix set; import junos-common-types { prefix jt; revision-date "2019-01-01"; } organization "Juniper Networks, Inc."; contact "yang-support@juniper.net"; description "Junos RPC YANG module for set command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc set-cli-working-directory { description "Set working directory"; input { leaf directory { type string; mandatory true; description "Pathname of working directory"; } } output { choice output_c { leaf output { type string; } anyxml cli { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc set-cli-working-directory rpc set-logical-router { description "Set default logical system"; input { leaf logical-system { type string; mandatory true; description "Name of logical system"; } leaf tenant { type string; description "Name of tenant"; } } output { choice output_c { leaf output { type string; } anyxml cli { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc set-logical-router rpc set-tenant { description "Set default tenant"; input { leaf tenant-name { type string; mandatory true; description "Name of tenant"; } } output { choice output_c { leaf output { type string; } anyxml cli { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc set-tenant rpc set-virtual-chassis-mode { description "Enable/disable virtual chassis mode"; input { leaf disable { type enumeration { enum "disable" { value 0; description "Disable virtual chassis mode"; } } } leaf local { type empty; description "Apply to local RE only"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc set-virtual-chassis-mode rpc set-rps-network { description "Set RPS network parameters"; input { leaf member { type union { type string { pattern "<.*>|$.*"; } type int32; } mandatory true; description "Member of virtual chassis configuration"; } leaf ip-address { type jt:ipv4addr; description "RPS IP address"; } leaf netmask { type jt:ipv4addr; description "RPS netmask"; } leaf gateway { type jt:ipv4addr; description "RPS gateway IP"; } } output { choice output_c { leaf output { type string; } anyxml rps-network-setting { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc set-rps-network } // module junos-ex-rpc-set
© 2023 YumaWorks, Inc. All rights reserved.