Junos RPC YANG module for as-path command(s)
Version: 2019-01-01
module junos-rpc-as-path { yang-version 1; namespace "http://yang.juniper.net/junos/rpc/as-path"; prefix as-path; 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 as-path command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-as-path { description "Show table of known autonomous system paths"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf rib-sharding { type string; description "Name of rib shard"; } } // choice daemon-select leaf level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } enum "summary" { value 2; description "Display summary output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml juniper-routing-aspath { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-as-path rpc get-as-path-domain { description "Show autonomous-system domains"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf rib-sharding { type string; description "Name of rib shard"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml juniper-routing-aspath { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-as-path-domain } // module junos-rpc-as-path
© 2023 YumaWorks, Inc. All rights reserved.