Junos RPC YANG module for system command(s)
Version: 2019-01-01
module junos-es-rpc-system { yang-version 1; namespace "http://yang.juniper.net/junos-es/rpc/system"; prefix system; 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 system command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-commit-information { description "Show pending commit requests (if any) and commit history"; input { leaf include-configuration-revision { type empty; description "Display configuration revision information against each commit record"; } } output { choice output_c { leaf output { type string; } anyxml commit-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-commit-information rpc get-commit-revision-information { description "Show latest commit revision number for shared database"; input { leaf level { type enumeration { enum "brief" { value 0; description "Display brief output"; } enum "detail" { value 1; description "Display detailed output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml commit-revision-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-commit-revision-information rpc get-pending-commit-sync-jobs { description "Show pending commit synchronize jobs"; output { choice output_c { leaf output { type string; } anyxml commit-sync-jobs; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-pending-commit-sync-jobs rpc get-commit-server-information { description "Show commit server detail"; input { leaf status { type empty; description "Display commit server status"; } } output { choice output_c { leaf output { type string; } anyxml commit-server-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-commit-server-information rpc get-commit-server-queue-information { description "Show transaction ids in the commit queue"; input { choice job-status-or-id { leaf id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Show commit queue id"; } leaf job-status { type enumeration { enum "all" { value 0; description "Display all jobs"; } enum "error" { value 1; description "Display jobs that had errors"; } enum "success" { value 2; description "Display jobs that succeeded"; } enum "pending" { value 3; description "Display jobs that are pending"; } } default "all"; description "Restrict display by job status"; } } // choice job-status-or-id leaf patch { type empty; description "Display commit queue patch"; } } output { choice output_c { leaf output { type string; } anyxml commit-server-queue-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-commit-server-queue-information rpc get-rescue-information { description "Show rescue configuration"; input { leaf format { type enumeration { enum "text" { value 0; description "Output text configuration"; } enum "xml" { value 1; description "Output XML configuration"; } enum "json" { value 2; description "Output JSON configuration"; } } description "Output format of configuration (XML or text or JSON)"; } } output { choice output_c { leaf output { type string; } anyxml rescue-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-rescue-information rpc get-configuration-by-revision { description "Show configuration for the specified configuration revision"; input { leaf revision-string { type string; mandatory true; description "Configuration revision string"; } choice configuration-revision-choice { leaf rollback-number { type empty; description "Show corresponding rollback number for the given configuration revision"; } leaf compare { type string; description "Configuration revision to compare"; } } // choice configuration-revision-choice leaf format { type enumeration { enum "text" { value 0; description "Output text configuration"; } enum "xml" { value 1; description "Output XML configuration"; } enum "json" { value 2; description "Output JSON configuration"; } } description "Output format of configuration (XML or text or JSON)"; } } output { choice output_c { leaf output { type string; } anyxml configuration-revision-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-configuration-by-revision rpc get-database-usage { description "Show configuration database usage"; output { choice output_c { leaf output { type string; } anyxml database-usage; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-database-usage rpc get-system-archival { description "List files queued up for archive transfer"; output { choice output_c { leaf output { type string; } anyxml directory-list; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-archival rpc get-rollback-information { description "Show rolled back configuration"; input { leaf rollback { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 49"; } } mandatory true; description "Rollback number to display"; } leaf configuration-revision { type empty; description "Show corresponding configuration revision for this rollback number"; } leaf compare { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 49"; } } description "Rollback number to compare"; } leaf format { type enumeration { enum "text" { value 0; description "Output text configuration"; } enum "xml" { value 1; description "Output XML configuration"; } enum "json" { value 2; description "Output JSON configuration"; } } description "Output format of configuration (XML or text or JSON)"; } } output { choice output_c { leaf output { type string; } anyxml rollback-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-rollback-information rpc get-system-alarm-information { description "Show system alarm status"; output { choice output_c { leaf output { type string; } anyxml alarm-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-alarm-information rpc get-system-uptime-information { description "Show time since system and processes started"; input { uses command-forwarding; choice dcf-role { description "Device type"; case interconnect-device { } // case interconnect-device case node-group { } // case node-group case infrastructure { } // case infrastructure case director-group { } // case director-group } // choice dcf-role } output { choice output_c { leaf output { type string; } anyxml system-uptime-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-uptime-information rpc get-license-summary-information { description "Show feature licenses information"; output { choice output_c { leaf output { type string; } anyxml license-summary-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-license-summary-information rpc get-license-information { description "Show installed feature licenses"; output { choice output_c { leaf output { type string; } anyxml license-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-license-information rpc get-license-key-information { description "Show license keys"; output { choice output_c { leaf output { type string; } anyxml license-key-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-license-key-information rpc get-license-usage-summary { description "Show licensed features"; output { choice output_c { leaf output { type string; } anyxml license-usage-summary; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-license-usage-summary rpc get-license-revoked-info { status deprecated; description "Show revoked licenses information"; output { choice output_c { leaf output { type string; } anyxml license-revoked-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-license-revoked-info rpc get-system-information { description "Show system information"; output { choice output_c { leaf output { type string; } anyxml system-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-information rpc get-system-login-lockout-information { description "Show user accounts not permitted logins"; input { leaf user { type string; description "Name of user"; } } output { choice output_c { leaf output { type string; } anyxml system-login-lockout-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-login-lockout-information rpc get-yang-schema { description "Show system schema in various formats"; input { leaf format { type enumeration { enum "yang" { value 0; description "YANG (default)"; } } default "yang"; description "The data modeling language of the schema"; } leaf identifier { type string; mandatory true; description "Module to be shown"; } leaf output-directory { type string; mandatory true; description "Directory to save requested YANG modules"; } leaf version { type string; description "Version of the schema requested"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-yang-schema rpc get-system-yang-packages { description "Show YANG package(s) installed on system"; input { leaf id { type string; description "Show YANG package with ID"; } choice re-choice { leaf re0 { type empty; description "Add/Delete YANG module(s) on RE0"; } leaf re1 { type empty; description "Add/Delete YANG module(s) on RE1"; } leaf other-routing-engine { type empty; description "Add/Delete YANG module(s) on other RE"; } } // choice re-choice } output { choice output_c { leaf output { type string; } anyxml yang-pkgs-info; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-yang-packages rpc get-upm-summary-information { description "User-plane manager summary information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-user-plane-cpm; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-upm-summary-information rpc get-upm-association-information { description "User-plane manager association information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-user-plane-associations; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-upm-association-information rpc get-upm-client-information { description "User-plane manager client information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-user-plane-clients; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-upm-client-information rpc get-subscriber-management-summary-information { description "Show Subscriber management summary"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-summary-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-summary-information rpc get-subscriber-management-statistics { description "Show subscriber management statistics"; input { leaf all { type empty; description "Display all statistics"; } leaf dhcp { type empty; description "Display dhcp statistics"; } leaf dvlan { type empty; description "Display dvlan statistics"; } leaf ppp { type empty; description "Display ppp statistics"; } leaf pppoe { type empty; description "Display pppoe statistics"; } leaf l2tp { type empty; description "Display l2tp statistics"; } leaf fixed-wireless-access { type empty; description "Display fixed-wireless-access statistics"; } leaf agf { type empty; description "Display agf statistics"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-statistics rpc get-subscriber-management-route-information { description "Show subscriber management route information"; input { leaf family { type enumeration { enum "inet" { value 0; description "IP version 4 (IPv4)"; } enum "inet6" { value 1; description "IP version 6 (IPv6)"; } } description "Name of family"; } leaf route-type { type enumeration { enum "local" { value 0; description "Local route"; } enum "access" { value 1; description "Access route"; } enum "access-internal" { value 2; description "Access-internal route"; } enum "kernel" { value 3; description "Kernel route"; } } description "Type of route"; } leaf routing-instance { type string; description "Name of routing instance"; } leaf level { type enumeration { enum "brief" { value 0; description "Display brief information"; } enum "detail" { value 1; description "Display detailed information"; } } default "brief"; } leaf incomplete { type empty; description "Display only incomplete routes"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-route-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-route-information rpc get-subscriber-management-route-summary { description "Show subscriber management route summary"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-route-summary; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-route-summary rpc get-subscriber-management-route-nh { description "Show subscriber management route next-hop information"; input { leaf index { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "1 .. 65535"; } } description "Next-hop index"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-route-nh; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-route-nh rpc get-subscriber-management-arp { description "Show subscriber management arp information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-arp; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-arp rpc get-subscriber-management-arp-interface { description "Name of interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-arp-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-arp-interface rpc get-subscriber-management-arp-address { description "Ipv4 address"; input { leaf ip-address { type jt:ipv4addr; mandatory true; description "Ipv4 address"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-arp-address; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-arp-address rpc get-subscriber-management-ipv6-neighbors { description "Show subscriber management ipv6 neighbors information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-ipv6-neighbors; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-ipv6-neighbors rpc get-subscriber-management-ipv6-neighbor-interface { description "Name of interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-ipv6-neighbor-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-ipv6-neighbor-interface rpc get-subscriber-management-ipv6-neighbor-address { description "Ipv6 address"; input { leaf interface-name { type jt:ipv6addr; mandatory true; description "Ipv6 address"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-ipv6-neighbor-address; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-ipv6-neighbor-address rpc get-subscriber-management-v4-liveness { description "Show subscriber management dhcpv4 liveness detection information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-v4-liveness; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-v4-liveness rpc get-subscriber-management-v4-liveness-interface { description "Name of interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-v4-liveness-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-v4-liveness-interface rpc get-subscriber-management-v4-liveness-address { description "Ipv4 address"; input { leaf ip-address { type jt:ipv4addr; mandatory true; description "Ipv4 address"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-v4-liveness-address; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-v4-liveness-address rpc get-subscriber-management-v6-liveness { description "Show subscriber management dhcpv6 liveness detection information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-v6-liveness; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-v6-liveness rpc get-subscriber-management-v6-liveness-interface { description "Name of interface"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-v6-liveness-interface; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-v6-liveness-interface rpc get-subscriber-management-v6-liveness-address { description "Ipv6 address"; input { leaf interface-name { type jt:ipv6addr; mandatory true; description "Ipv6 address"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-v6-liveness-address; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-v6-liveness-address rpc get-subscriber-management-resiliency-information { description "Show resiliency information"; input { leaf detail { type empty; description "Display detail information"; } leaf extensive { type empty; description "Display extensive information"; } leaf summary { type empty; description "Display summary information"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-management-resiliency-information rpc get-subscriber-mgmt-red-state { description "Show subscriber management redundancy state"; output { choice output_c { leaf output { type string; } anyxml subscriber-mgmt-red-state; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-mgmt-red-state rpc get-subscriber-mgmt-red-state-dhcp { description "DHCP information"; output { choice output_c { leaf output { type string; } anyxml subscriber-mgmt-red-state-dhcp; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-mgmt-red-state-dhcp rpc get-subscriber-mgmt-red-state-dhcp-alq { description "Active-leasequery protocol"; output { choice output_c { leaf output { type string; } anyxml subscriber-mgmt-red-state-dhcp-alq; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-mgmt-red-state-dhcp-alq rpc get-subscriber-mgmt-red-state-dhcp-alq-intf { description "Underlying interface name"; input { leaf interface-name { type string; mandatory true; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-mgmt-red-state-dhcp-alq-intf; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-subscriber-mgmt-red-state-dhcp-alq-intf rpc get-system-core-dumps { description "Show system core files"; output { choice output_c { leaf output { type string; } anyxml directory-list; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-core-dumps rpc get-core-file-information { status deprecated; description "Display the stack trace of core file"; input { uses command-forwarding; leaf display-style { type enumeration { enum "detail" { value 0; description "View stack trace with details of binary"; } enum "brief" { value 1; description "View details of binary"; } } default "brief"; description "Option for viewing brief/detailed info about core file"; } leaf core-filename { type jt:filename; mandatory true; description "Name of core file"; } } output { choice output_c { leaf output { type string; } anyxml core-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-core-file-information rpc get-health-mon-information { description "Show health monitoring parameters"; output { choice output_c { leaf output { type string; } anyxml health-mon-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-health-mon-information rpc get-boot-console-information { description "Show boot console port information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-boot-console-information rpc get-buffer-informations { description "Show buffer statistics"; output { choice output_c { leaf output { type string; } anyxml memory-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-buffer-informations rpc get-queues-information { description "Show queue statistics"; output { choice output_c { leaf output { type string; } anyxml queues-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-queues-information rpc get-directory-usage-information { description "Show local directory information"; input { uses command-forwarding; leaf path { type string; description "Path of root directory to traverse"; } leaf depth { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Depth of directories to traverse"; } } output { choice output_c { leaf output { type string; } anyxml directory-usage-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-directory-usage-information rpc get-auto-snapshot-information { description "Show auto-snapshot status when system booted from alternate slice"; output { choice output_c { leaf output { type string; } anyxml auto-snapshot-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-auto-snapshot-information rpc get-snapshot-information { description "Show snapshot information"; input { uses command-forwarding; leaf slice { type enumeration { enum "1" { value 0; description "Show snapshot information from first partition"; } enum "2" { value 1; description "Show snapshot information from second partition"; } enum "alternate" { value 2; description "Show snapshot information from alternate partition"; } } description "Show snapshot information from specified partition"; } leaf media { type enumeration { enum "removable-compact-flash" { value 0; description "Show snapshot information from removable compact flash"; } enum "compact-flash" { value 1; description "Show snapshot information from compact flash"; } enum "usb" { value 2; description "Show snapshot information from device connected to USB port"; } enum "usb0" { value 3; description "Show snapshot information from device connected to USB0"; } enum "usb1" { value 4; description "Show snapshot information from device connected to USB1"; } enum "hard-disk" { value 5; description "Show snapshot information from hard disk"; } enum "internal" { value 6; description "Show snapshot information from internal flash"; } enum "external" { value 7; description "Show snapshot information from external flash"; } } description "Media to show snapshot information from"; } } output { choice output_c { leaf output { type string; } anyxml snapshot-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-snapshot-information rpc get-software-installation-status { description "Show status of software installation"; output { choice output_c { leaf output { type string; } anyxml software-installation-status; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-software-installation-status rpc get-package-backup-information { description "Show status of old system software packages"; output { choice output_c { leaf output { type string; } anyxml package-backup-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-package-backup-information rpc get-software-sets-information { description "Show version of software sets available"; output { choice output_c { leaf output { type string; } anyxml software-sets-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-software-sets-information rpc get-system-process-information { description "Show system process table"; input { uses command-forwarding; leaf detail { type empty; description "Display detailed output"; } leaf wide { type empty; description "Display information even if wider than 80 columns"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-process-information rpc get-process-health-information { description "Show process health information"; input { choice name_pid_choice { leaf process-name { type string; description "Process name"; } leaf pid { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 99999"; } } description "Process identifier"; } } // choice name_pid_choice } output { choice output_c { leaf output { type string; } anyxml system-processes-health-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-process-health-information rpc get-system-process-resource-limits { description "Show process resource limits"; input { leaf process-name { type string; description "Process name"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml secpolinfo-policy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-process-resource-limits rpc get-statistics-information { description "Show statistics for protocol"; input { uses command-forwarding; leaf protocol { type enumeration { enum "ip" { value 0; description "IP version 4 (IPv4)"; } enum "ip6" { value 1; description "IP version 6 (IPv6)"; } enum "icmp" { value 2; description "Internet Control Message Protocol"; } enum "nd6" { value 3; description "Internet Control Message Protocol for IPv6"; } enum "icmp6" { value 4; description "Internet Control Message Protocol for IPv6"; } enum "tcp" { value 5; description "Transmission Control Protocol"; } enum "udp" { value 6; description "User Datagram Protocol"; } enum "igmp" { value 7; description "Internet Gateway Management Protocol"; } enum "arp" { value 8; description "Address Resolution Protocol"; } enum "clns" { value 9; description "Connectionless Network Service"; } enum "esis" { value 10; description "End System-to-Intermediate System"; } enum "tnp" { value 11; description "Trivial Network Protocol"; } enum "rdp" { value 12; description "Reliable Datagram Protocol"; } enum "ttp" { value 13; description "TNP Tunneling Protocol"; } enum "tudp" { value 14; description "Trivial User Datagram Protocol"; } enum "mpls" { value 15; description "Multiprotocol Label Switching"; } enum "ethoamcfm" { value 16; description "Ethernet OAM protocol for connectivity fault management"; } enum "ethoamlfm" { value 17; description "Ethernet OAM protocol for link fault management"; } enum "jsr" { value 18; description "Juniper Socket Replication"; } } } } output { choice output_c { leaf output { type string; } anyxml statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-statistics-information rpc get-system-vpls-statistics { description "Virtual private LAN service"; output { choice output_c { leaf output { type string; } anyxml statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-vpls-statistics rpc get-system-bridge-statistics { description "IEEE 802.1 Bridging"; output { choice output_c { leaf output { type string; } anyxml statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-bridge-statistics rpc get-system-stats-extended { description "System wide statistics"; input { leaf protocol { type enumeration { enum "ipv4" { value 0; description "Display ipv4 sysstem statistics"; } enum "ipv6" { value 1; description "Display ipv6 sysstem statistics"; } } description "Show sysstem statistics extended protocol"; } } output { choice output_c { leaf output { type string; } anyxml extended-system-stats; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-stats-extended rpc get-system-storage { description "Show local storage data"; input { uses command-forwarding; leaf detail { type empty; } } output { choice output_c { leaf output { type string; } anyxml system-storage-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-storage rpc get-system-storage-partitions { description "Show partitions information for the boot media"; output { choice output_c { leaf output { type string; } anyxml system-storage-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-storage-partitions rpc get-system-storage-mmc-information { description "Show MMC storage information"; input { uses command-forwarding; leaf device-name { type enumeration { enum "all" { value 0; description "Show all MMCs"; } enum "mmcsd0" { value 1; description "Show mmcsd0"; } } mandatory true; } leaf information-type { type enumeration { enum "status" { value 0; description "Show general information and health status"; } } mandatory true; } } output { choice output_c { leaf output { type string; } anyxml system-storage-mmc-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-storage-mmc-information rpc get-switchover-information { description "Show Routing Engine graceful switchover information"; output { choice output_c { leaf output { type string; } anyxml switchover-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-switchover-information rpc get-system-services-reverse-information { description "Show reverse telnet/SSH connection information"; output { choice output_c { leaf output { type string; } anyxml system-services-reverse-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-services-reverse-information rpc get-dhcp-binding-information { description "Show DHCP client binding information"; input { uses command-forwarding; leaf detail { type empty; description "Display detailed information"; } leaf address { type jt:ipaddr; description "Address of DHCP client binding"; } } output { choice output_c { leaf output { type string; } anyxml dhcp-binding-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dhcp-binding-information rpc get-dhcp-conflict-information { description "Show DHCP address conflict"; output { choice output_c { leaf output { type string; } anyxml dhcp-conflict-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dhcp-conflict-information rpc get-dhcp-global-information { description "Show DHCP global scope information"; output { choice output_c { leaf output { type string; } anyxml dhcp-global-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dhcp-global-information rpc get-dhcp-pool-information { description "Show DHCP address pool information"; input { uses command-forwarding; leaf detail { type empty; description "Display detailed information"; } leaf subnet-address { type jt:ipprefix; description "Logical subnet of address pool"; } } output { choice output_c { leaf output { type string; } anyxml dhcp-pool-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dhcp-pool-information rpc get-dhcp-statistics-information { description "Show DHCP statistics"; output { choice output_c { leaf output { type string; } anyxml dhcp-statistics-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dhcp-statistics-information rpc get-dhcp-client-information { status deprecated; description "Show DHCP client information"; input { uses command-forwarding; leaf statistics { type empty; description "Show DHCP client statistics"; } leaf interface-name { type string; description "Interface name of DHCP client"; } } output { choice output_c { leaf output { type string; } anyxml dhcp-client-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dhcp-client-information rpc get-dhcp-helper-statistics { description "Show DHCP relay statistics information"; output { choice output_c { leaf output { type string; } anyxml dhcp-helper-statistics; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dhcp-helper-statistics rpc get-dns-proxy-information { description "Show DNS proxy statistic information"; output { choice output_c { leaf output { type string; } anyxml dns-proxy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dns-proxy-information rpc get-dns-proxy-cache-information { description "Show DNS proxy nameserver cache"; input { uses command-forwarding; leaf view-name { type string; description "Show DNS proxy nameserver view cache"; } } output { choice output_c { leaf output { type string; } anyxml dns-proxy-cache-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dns-proxy-cache-information rpc get-dns-proxy-propogate-setting { description "Show DNS proxy dhcp/pppoe propogated name-server"; output { choice output_c { leaf output { type string; } anyxml dns-proxy-propogate-setting; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dns-proxy-propogate-setting rpc get-dynamic-dns-client-information { description "Show Dynamic DNS client information"; input { uses command-forwarding; leaf level { type enumeration { enum "detail" { value 0; description "Display detailed output"; } enum "brief" { value 1; description "Display brief output"; } } default "brief"; } leaf hostname { type string; description "Dynamic DNS hostname"; } } output { choice output_c { leaf output { type string; } anyxml dynamic-dns-client-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-dynamic-dns-client-information rpc get-service-deployment-service-information { description "Show service deployment service information"; output { choice output_c { leaf output { type string; } anyxml service-deployment-service-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-service-deployment-service-information rpc get-system-memory-information { description "Show system memory usage"; output { choice output_c { leaf output { type string; } anyxml system-memory-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-memory-information rpc get-system-virtual-memory-information { description "Show kernel dynamic memory usage"; output { choice output_c { leaf output { type string; } anyxml system-virtual-memory-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-virtual-memory-information rpc get-system-users-information { description "Show users who are currently logged in"; input { uses command-forwarding; leaf no-resolve { type empty; description "Don't attempt to print addresses symbolically"; } } output { choice output_c { leaf output { type string; } anyxml system-users-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-users-information rpc get-syslog-events { description "Show system log messages"; input { leaf stream { type string; mandatory true; description "Name of stream (log file) containing messages to filter"; } leaf event { type string { length "1 .. 256"; } description "Event ID of messages to include in output"; } leaf process { type string { length "1 .. 256"; } description "Name of process generating messages to include in output"; } leaf-list priority { type string; ordered-by user; description "Facility and severity of messages to include in output"; } leaf host { type string { length "1 .. 256"; } description "Name of host generating messages to include in output"; } leaf start-time { type jt:time; description "Earliest timestamp of messages to include in output"; } choice stop-time-choice { leaf current-time { type empty; description "Include messages up to current time"; } leaf stop-time { type jt:time; description "Latest timestamp of messages to include in output"; } } // choice stop-time-choice leaf-list parameter { type jt:regular-expression; ordered-by user; description "Parameter (key=value) of messages to include in output"; } leaf text-pattern { type jt:regular-expression; description "Pattern in messages to include in output"; } leaf count { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Number of messages to include in output"; } leaf recorded { type empty; description "Match only the recorded messages"; } leaf connection-id { type string; description "Connection ID"; } } output { choice output_c { leaf output { type string; } anyxml syslog-events; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-syslog-events rpc get-system-resource-cleanup-processes-information { description "Show process resource cleanup information"; input { leaf detail { type empty; description "Display detailed information"; } choice name_pid_choice { leaf process-name { type string; description "Process name"; } leaf pid { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 99999"; } } description "Process identifier"; } } // choice name_pid_choice } output { choice output_c { leaf output { type string; } anyxml system-resource-cleanup-processes-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-resource-cleanup-processes-information rpc get-autoinstallation-status-information { description "Show autoinstallation status"; output { choice output_c { leaf output { type string; } anyxml autoinstallation-status-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-autoinstallation-status-information rpc get-system-firmware-information { description "Show all firmware version information"; input { uses command-forwarding; leaf compatibility { type empty; description "Show all firmware compatibility information"; } } output { choice output_c { leaf output { type string; } anyxml system-firmware-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-firmware-information rpc get-system-crypto-information { description "Show system security crypto level"; output { choice output_c { leaf output { type string; } anyxml system-crypto-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-crypto-information rpc get-system-autorecovery { description "Show autorecovery information"; output { choice output_c { leaf output { type string; } anyxml autorecovery-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-autorecovery rpc get-system-autorecovery-state { description "Show saved autorecovery information"; output { choice output_c { leaf output { type string; } anyxml autorecovery; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-system-autorecovery-state rpc get-download-information { description "Show status of downloads"; input { leaf download-id { type union { type uint16; type string { pattern "<.*>|$.*"; } } description "ID of the download whose status is to be shown"; } } output { choice output_c { leaf output { type string; } anyxml download-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-download-information rpc get-security-profile-assign-information { description "Show all logical systems and tenants assigned with this profile"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } leaf summary { type empty; description "Display summary output"; } leaf profile { type string; description "Specify security-profile name or all"; } } output { choice output_c { leaf output { type string; } anyxml security-profile-assign-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-assign-information rpc get-security-profile-all-resource-information { description "Show all resources information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-all-resource-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-all-resource-information rpc get-security-profile-auth-entry-information { description "Show authentication resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-auth-entry-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-auth-entry-information rpc get-security-profile-zone-information { description "Show zone resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-zone-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-zone-information rpc get-security-profile-policy-information { description "Show policy resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-policy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-policy-information rpc get-security-profile-policy-with-count-information { description "Show resource information of policy with count"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-policy-with-count-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-policy-with-count-information rpc get-security-profile-appfw-rule-set-information { description "Show appfw rule-set resource information"; input { uses command-forwarding; choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml security-profile-appfw-rule-set-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-appfw-rule-set-information rpc get-security-profile-appfw-rule-information { description "Show appfw rule resource information"; input { uses command-forwarding; choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml security-profile-appfw-rule-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-appfw-rule-information rpc get-security-profile-appfw-profile-information { description "Show appfw profile resource information"; input { uses command-forwarding; choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml security-profile-appfw-profile-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-appfw-profile-information rpc get-security-profile-scheduler-information { description "Show scheduler resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-scheduler-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-scheduler-information rpc get-security-profile-nat-source-pool-information { description "Show nat source pool resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-source-pool-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-source-pool-information rpc get-security-profile-nat-destination-pool-information { description "Show nat destination pool resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-destination-pool-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-destination-pool-information rpc get-security-profile-nat-pat-address-information { description "Show nat source pat address resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-pat-address-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-pat-address-information rpc get-security-profile-nat-nopat-address-information { description "Show nat source nopat address resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-nopat-address-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-nopat-address-information rpc get-security-profile-nat-pat-portnum-information { description "Show nat source pat port number resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-pat-portnum-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-pat-portnum-information rpc get-security-profile-nat-source-rule-information { description "Show nat source rule resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-source-rule-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-source-rule-information rpc get-security-profile-nat-destination-rule-information { description "Show nat destination rule resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-destination-rule-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-destination-rule-information rpc get-security-profile-nat-static-rule-information { description "Show nat static rule resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-static-rule-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-static-rule-information rpc get-security-profile-nat-rule-referenced-prefix-information { description "Show nat rule referenced IP-prefix information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-rule-referenced-prefix-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-rule-referenced-prefix-information rpc get-security-profile-nat-cone-binding-information { description "Show nat cone binding resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-cone-binding-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-cone-binding-information rpc get-security-profile-nat-port-ol-ipnumber-information { description "Show nat port overloading resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-port-ol-ipnumber-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-port-ol-ipnumber-information rpc get-security-profile-nat-interface-port-ol-information { description "Show nat interface port overloading resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-nat-interface-port-ol-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-nat-interface-port-ol-information rpc get-security-profile-flow-session-information { description "Show flow session resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-flow-session-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-flow-session-information rpc get-security-profile-flow-gate-information { description "Show flow gate resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-flow-gate-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-flow-gate-information rpc get-security-profile-cpu-information { description "Show CPU utilization information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-cpu-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-cpu-information rpc get-security-profile-dslite-softwire-initiator-information { description "Show security dslite softwire initiator resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-dslite-softwire-initiator-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-dslite-softwire-initiator-information rpc get-security-profile-address-book-information { description "Show address-book resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-address-book-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-address-book-information rpc get-security-profile-log-stream-num-info { description "Show security log stream number information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-security-log-stream-number-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-log-stream-num-info rpc get-security-profile-icap-profile-information { description "Show ICAP redirect profile resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-icap-profile-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-icap-profile-information rpc get-security-profile-aamw-policy-information { description "Show advanced-anti-malware policy resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-advanced-anti-malware-policy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-aamw-policy-information rpc get-security-profile-sms-policy-information { description "Show security-metadata-streaming policy resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-security-metadata-streaming-policy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-sms-policy-information rpc get-security-profile-secintel-policy-information { description "Show Security-intelligence policy resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-secintel-policy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-secintel-policy-information rpc get-userid-auth-entry-information { description "Show userid auth entry resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-user-auth-entry-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-userid-auth-entry-information rpc get-security-profile-secure-wire-information { description "Show secure-wire resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-secure-wire-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-secure-wire-information rpc get-security-profile-vrf-group-information { description "Show vrf-group resource information"; input { uses command-forwarding; leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "terse"; } choice lsys { case logical-system { } // case logical-system leaf root-logical-system { type empty; description "Root logical-system"; } case tenant { } // case tenant leaf all-logical-systems-tenants { type empty; description "All multitenancy systems"; } leaf summary { type empty; description "Display summary output"; } } // choice lsys } output { choice output_c { leaf output { type string; } anyxml security-profile-vrf-group-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-security-profile-vrf-group-information grouping command-forwarding { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector } // grouping command-forwarding } // module junos-es-rpc-system
© 2023 YumaWorks, Inc. All rights reserved.