Junos RPC YANG module for system command(s)
Version: 2019-01-01
module junos-nfx-rpc-system { yang-version 1; namespace "http://yang.juniper.net/junos-nfx/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)"; } } 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 unified-services-chassis-mode-status { description "Current status of Unified-Services feature"; output { choice output_c { leaf output { type string; } anyxml unified-services-status-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc unified-services-chassis-mode-status 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-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 generated 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-ipv6-ra { description "Show subscriber management ipv6 router-advertisement information"; output { choice output_c { leaf output { type string; } anyxml subscriber-management-ipv6-ra { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-subscriber-management-ipv6-ra rpc get-subscriber-management-ipv6-ra-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-ra-interface { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-subscriber-management-ipv6-ra-interface rpc get-subscriber-management-ipv6-ra-prefix { description "Ipv6 prefix"; input { leaf interface-prefix { type jt:ipv6addr; mandatory true; description "Ipv6 prefix"; } } output { choice output_c { leaf output { type string; } anyxml subscriber-management-ipv6-ra-prefix { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-subscriber-management-ipv6-ra-prefix 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"; input { 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 leaf component { type string; description "Name of the component (uuid or serial number or all)"; } leaf node-group { type string; description "Name or ID of a node group"; } leaf staging-area { type empty; description "Display contents of staging area"; } leaf detail { type empty; description "Display detailed list (includes historical information)"; } leaf display-mastership { type empty; description "Display mastership information for each component"; } leaf repository { type enumeration { enum "core" { value 0; description "View 'core' repository"; } enum "log" { value 1; description "View 'log' repository"; } } default "core"; description "Specify type of repository for display"; } leaf fabric-members { type empty; description "View core and log repositories for fabric members"; } leaf display-order { type enumeration { enum "timestamp-sort" { value 0; description "Sort files on timestamps"; } enum "alphanumeric-sort" { value 1; description "Sort files alphanumerically"; } } default "alphanumeric-sort"; description "Specify sorting order of files"; } leaf display-period { type string; description "Display files generated in recent period, (ex: 24h, 60m, 45s)"; } } 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-transfer-status-information { description "Display status of transfers"; input { leaf transfer-cateogry { type enumeration { enum "all" { value 0; description "List status of all transfers (completed, active etc)"; } enum "active" { value 1; description "List status of active transfers"; } enum "completed" { value 2; description "List status of completed transfers"; } } mandatory true; description "List status of types of transfers"; } leaf repository { type enumeration { enum "core" { value 0; description "View transfers to 'core' repository"; } enum "log" { value 1; description "View transfers to 'log' repository"; } } default "core"; description "Specify type of repository for display"; } } output { choice output_c { leaf output { type string; } anyxml dre-xfer { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-core-transfer-status-information rpc get-core-file-information { status deprecated; description "Display the stack trace of core file"; input { 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 leaf component { type string; description "Name of the component (uuid or serial number)"; } leaf staging-area { type empty; description "Display contents of staging area"; } leaf fabric-members { type empty; description "View core-file-info for fabric members"; } 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-core-file-satellite { description "Show core-files on satellite devices"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-core-file-satellite rpc get-boot-media-information { description "Display permanent boot media settings"; output { choice output_c { leaf output { type string; } anyxml system-boot-media-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-boot-media-information rpc get-active-error-count-information { description "Show all errors"; output { choice output_c { leaf output { type string; } anyxml active-error-count-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-error-count-information rpc get-active-error-information { description "Show active errors"; output { choice output_c { leaf output { type string; } anyxml active-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-error-information rpc get-fpc-active-error-information { description "Show active errors for FPC"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml active-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-active-error-information rpc get-sib-active-error-information { description "Show active errors for SIB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml active-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sib-active-error-information rpc get-feb-active-error-information { description "Show active errors for FEB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } mandatory true; description "FEB slot number"; } } output { choice output_c { leaf output { type string; } anyxml active-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-active-error-information rpc get-re-active-error-information { description "Show active errors for RE"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type int32; } mandatory true; description "RE slot number"; } } output { choice output_c { leaf output { type string; } anyxml active-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-re-active-error-information rpc get-active-error-detail-information { description "Show active errors detail"; output { choice output_c { leaf output { type string; } anyxml active-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-error-detail-information rpc get-fpc-active-error-detail-information { description "Show active errors detail for FPC"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board scope"; } enum "pfe" { value 1; description "Show pfe scope"; } } description "Specify scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Show functional category"; } enum "memory" { value 1; description "Show memory category"; } enum "io" { value 2; description "Show io category"; } enum "storage" { value 3; description "Show storage category"; } enum "switch" { value 4; description "Show switch category"; } enum "processing" { value 5; description "Show processing category"; } enum "internal" { value 6; description "Show internal category"; } } description "Specify category"; } } output { choice output_c { leaf output { type string; } anyxml active-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-active-error-detail-information rpc get-sib-active-error-detail-information { description "Show active errors detail for SIB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "SIB slot number"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board scope"; } enum "switch" { value 1; description "Show switch scope"; } } description "Specify scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Show functional category"; } enum "memory" { value 1; description "Show memory category"; } enum "io" { value 2; description "Show io category"; } enum "storage" { value 3; description "Show storage category"; } enum "switch" { value 4; description "Show switch category"; } enum "processing" { value 5; description "Show processing category"; } enum "internal" { value 6; description "Show internal category"; } } description "Specify category"; } } output { choice output_c { leaf output { type string; } anyxml active-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sib-active-error-detail-information rpc get-feb-active-error-detail-information { description "Show active errors detail for FEB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } mandatory true; description "FEB slot number"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board scope"; } enum "switch" { value 1; description "Show switch scope"; } } description "Specify scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Show functional category"; } enum "memory" { value 1; description "Show memory category"; } enum "io" { value 2; description "Show io category"; } enum "storage" { value 3; description "Show storage category"; } enum "switch" { value 4; description "Show switch category"; } enum "processing" { value 5; description "Show processing category"; } enum "internal" { value 6; description "Show internal category"; } } description "Specify category"; } } output { choice output_c { leaf output { type string; } anyxml active-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-active-error-detail-information rpc get-re-active-error-detail-information { description "Show active errors detail for RE"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type int32; } mandatory true; description "RE slot number"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board scope"; } } description "Specify scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Show functional category"; } enum "memory" { value 1; description "Show memory category"; } enum "io" { value 2; description "Show io category"; } enum "storage" { value 3; description "Show storage category"; } enum "switch" { value 4; description "Show switch category"; } enum "processing" { value 5; description "Show processing category"; } enum "internal" { value 6; description "Show internal category"; } } description "Specify category"; } } output { choice output_c { leaf output { type string; } anyxml active-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-re-active-error-detail-information rpc get-inactive-error-information { description "Show inactive errors"; output { choice output_c { leaf output { type string; } anyxml inactive-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inactive-error-information rpc get-fpc-inactive-error-information { description "Show inactive errors for FPC"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml inactive-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-inactive-error-information rpc get-sib-inactive-error-information { description "Show inactive errors for SIB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml inactive-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sib-inactive-error-information rpc get-feb-inactive-error-information { description "Show inactive errors for FEB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } mandatory true; description "FEB slot number"; } } output { choice output_c { leaf output { type string; } anyxml inactive-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-inactive-error-information rpc get-re-inactive-error-information { description "Show inactive errors for RE"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type int32; } mandatory true; description "RE slot number"; } } output { choice output_c { leaf output { type string; } anyxml inactive-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-re-inactive-error-information rpc get-inactive-error-detail-information { description "Show inactive errors detail"; output { choice output_c { leaf output { type string; } anyxml inactive-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inactive-error-detail-information rpc get-fpc-inactive-error-detail-information { description "Show inactive errors detail for FPC"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board scope"; } enum "pfe" { value 1; description "Show pfe scope"; } } description "Specify scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Show functional category"; } enum "memory" { value 1; description "Show memory category"; } enum "io" { value 2; description "Show io category"; } enum "storage" { value 3; description "Show storage category"; } enum "switch" { value 4; description "Show switch category"; } enum "processing" { value 5; description "Show processing category"; } enum "internal" { value 6; description "Show internal category"; } } description "Specify category"; } } output { choice output_c { leaf output { type string; } anyxml inactive-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-inactive-error-detail-information rpc get-sib-inactive-error-detail-information { description "Show inactive errors detail for SIB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "SIB slot number"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board scope"; } enum "switch" { value 1; description "Show switch scope"; } } description "Specify scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Show functional category"; } enum "memory" { value 1; description "Show memory category"; } enum "io" { value 2; description "Show io category"; } enum "storage" { value 3; description "Show storage category"; } enum "switch" { value 4; description "Show switch category"; } enum "processing" { value 5; description "Show processing category"; } enum "internal" { value 6; description "Show internal category"; } } description "Specify category"; } } output { choice output_c { leaf output { type string; } anyxml inactive-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sib-inactive-error-detail-information rpc get-feb-inactive-error-detail-information { description "Show inactive errors detail for FEB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } mandatory true; description "FEB slot number"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board scope"; } enum "switch" { value 1; description "Show switch scope"; } } description "Specify scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Show functional category"; } enum "memory" { value 1; description "Show memory category"; } enum "io" { value 2; description "Show io category"; } enum "storage" { value 3; description "Show storage category"; } enum "switch" { value 4; description "Show switch category"; } enum "processing" { value 5; description "Show processing category"; } enum "internal" { value 6; description "Show internal category"; } } description "Specify category"; } } output { choice output_c { leaf output { type string; } anyxml inactive-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-inactive-error-detail-information rpc get-re-inactive-error-detail-information { description "Show inactive errors detail for RE"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type int32; } mandatory true; description "RE slot number"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board scope"; } } description "Specify scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Show functional category"; } enum "memory" { value 1; description "Show memory category"; } enum "io" { value 2; description "Show io category"; } enum "storage" { value 3; description "Show storage category"; } enum "switch" { value 4; description "Show switch category"; } enum "processing" { value 5; description "Show processing category"; } enum "internal" { value 6; description "Show internal category"; } } description "Specify category"; } } output { choice output_c { leaf output { type string; } anyxml inactive-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-re-inactive-error-detail-information rpc get-active-fru-error-information { description "Show fru error information"; output { choice output_c { leaf output { type string; } anyxml active-fru-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-fru-error-information rpc get-active-fru-error-detail-information { description "Show fru error information in detail"; output { choice output_c { leaf output { type string; } anyxml active-fru-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-fru-error-detail-information rpc get-fpc-active-fru-error-detail-information { description "Show active errors for FPC"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml active-fru-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-active-fru-error-detail-information rpc get-sib-active-fru-error-detail-information { description "Show active errors for SIB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml active-fru-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sib-active-fru-error-detail-information rpc get-feb-active-fru-error-detail-information { description "Show active errors for FEB"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } mandatory true; description "FEB slot number"; } } output { choice output_c { leaf output { type string; } anyxml active-fru-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-active-fru-error-detail-information rpc get-re-active-fru-error-detail-information { description "Show active errors for RE"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type int32; } mandatory true; description "RE slot number"; } } output { choice output_c { leaf output { type string; } anyxml active-fru-error-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-re-active-fru-error-detail-information rpc get-active-fru-error-id-information { description "Show error information by error-id"; input { leaf id { type string { length "1 .. 255"; } mandatory true; description "URI for the error"; } } output { choice output_c { leaf output { type string; } anyxml active-fru-error-id-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-fru-error-id-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-health-mon-fpc-information { description "Health parameters for FPC"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml health-mon-fpc-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-health-mon-fpc-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 { 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 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 { 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 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-package-rollback { description "Display the rollback image information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-package-rollback 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 { 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 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 { 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 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"; } } } leaf backup { type empty; description "Statistics of backup JunosVM"; } } 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 { 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 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-satellite { description "Show satellite device storage data"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-storage-satellite rpc get-system-storage-mmc-information { description "Show MMC storage information"; input { 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 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-usb-pass-through-information { description "Show mode of USB Passthrough to JUNOS"; output { choice output_c { leaf output { type string; } anyxml usb-pass-through-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-usb-pass-through-information rpc get-dhcp-binding-information { description "Show DHCP client binding information"; input { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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-resource-monitor-summary-fpc-information { description "Show Resource Monitor summary"; output { choice output_c { leaf output { type string; } anyxml resource-monitor-summary-fpc-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-resource-monitor-summary-fpc-information rpc get-resource-monitor-fpc-information { description "Show Line Card Resource utilization for monitoring"; output { choice output_c { leaf output { type string; } anyxml resource-monitor-fpc-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-resource-monitor-fpc-information rpc get-resource-monitor-fpc-slot-information { description "FPC Slot number"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 255"; } } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml resource-monitor-fpc-slot-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-resource-monitor-fpc-slot-information rpc get-resource-monitor-ifd-mapping-information { description "Display ifd to queue mapping"; input { leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 255"; } } mandatory true; description "FPC number"; } } output { choice output_c { leaf output { type string; } anyxml resource-monitor-ifd-mapping-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-resource-monitor-ifd-mapping-information rpc get-subscribers-limit-level { description "Show Subscriber limit"; input { leaf chassis { type empty; mandatory true; description "Show Subscriber limit of chassis level"; } leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 255"; } } mandatory true; description "Show Subscriber limit of fpc level"; } leaf pic { type union { type string { pattern "<.*>|$.*"; } type int32 { range "0 .. 3"; } } description "Show Subscriber limit of pic level"; } leaf port { type union { type string { pattern "<.*>|$.*"; } type int32 { range "0 .. 23"; } } description "Show Subscriber limit of port level"; } leaf extensive { type empty; description "Display extensive output"; } } output { choice output_c { leaf output { type string; } anyxml subscribers-limit-level { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-subscribers-limit-level rpc get-system-monitor-memory-events { description "Display history of events minor/major/critical "; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-events rpc get-system-monitor-memory-events-all { description "Display history of all events"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-events-all rpc get-system-monitor-memory-events-system { description "Display history of system events"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-events-system rpc get-system-monitor-memory-events-process { description "Display history of process events"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-events-process rpc get-system-monitor-memory-status { description "Display current status of the events minor/major/critical"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-status rpc get-system-monitor-memory-status-all { description "Display current status of all events"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-status-all rpc get-system-monitor-memory-status-system { description "Display current status of system events"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-status-system rpc get-system-monitor-memory-status-process { description "Display current status of process events"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-status-process rpc get-system-monitor-memory-actions { description "Display history of actions taken on events"; input { leaf action-choice { type enumeration { enum "all" { value 0; description "Display history of action taken on system/process events"; } enum "system" { value 1; description "Display history of actions taken on system events"; } enum "process" { value 2; description "Display history of actions taken on process events"; } } } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-monitor-memory-actions rpc get-system-firmware-information { description "Show all firmware version information"; input { 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 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-inventory-information { description "Show inventory information"; output { choice output_c { leaf output { type string; } anyxml system-inventory-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-inventory-information rpc get-inventory-software-information { description "Show software inventory"; output { choice output_c { leaf output { type string; } anyxml inventory-software-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-software-information rpc get-inventory-software-vnf-information { description "VNF inventory information"; output { choice output_c { leaf output { type string; } anyxml inventory-software-vnf-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-software-vnf-information rpc get-inventory-hardware-information { description "Show hardware inventory"; output { choice output_c { leaf output { type string; } anyxml inventory-hardware-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-information rpc get-inventory-hardware-extensive-information { description "Display ID EEPROM information"; output { choice output_c { leaf output { type string; } anyxml inventory-hardware-extensive-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-extensive-information rpc get-inventory-hardware-clei-models-information { description "Display CLEI barcode and model number for orderable FRUs"; output { choice output_c { leaf output { type string; } anyxml inventory-hardware-clei-models-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-clei-models-information rpc get-inventory-hardware-cpu-information { description "CPU information"; output { choice output_c { leaf output { type string; } anyxml inventory-hardware-cpu-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-cpu-information rpc get-inventory-hardware-memory-information { description "Memory information"; output { choice output_c { leaf output { type string; } anyxml inventory-hardware-memory-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-memory-information rpc get-inventory-hardware-storage-information { description "Storage information"; output { choice output_c { leaf output { type string; } anyxml inventory-hardware-storage-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-storage-information rpc get-inventory-hardware-network-information { description "Network information"; output { choice output_c { leaf output { type string; } anyxml inventory-hardware-network-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-network-information rpc get-inventory-hardware-optics-information { description "Optics information"; input { leaf interface-name { type string; description "Name of physical or logical interface"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "extensive" { value 1; description "Display extensive output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml inventory-hardware-optics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-optics-information rpc get-inventory-hardware-expansion-module-info { description "Expansion module information"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "extensive" { value 1; description "Display extensive output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml inventory-hardware-expansion-module-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-hardware-expansion-module-info rpc get-inventory-firmware-information { description "Show firmware inventory"; output { choice output_c { leaf output { type string; } anyxml inventory-firmware-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-inventory-firmware-information rpc get-system-visibility-information { description "Show visibility information"; output { choice output_c { leaf output { type string; } anyxml system-visibility-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-visibility-information rpc get-visibility-vnf-information { description "VNF information"; input { 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 leaf vnf-name { type string; description "Display information for a specified VNF"; } } output { choice output_c { leaf output { type string; } anyxml visibility-vnf-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-vnf-information rpc get-visibility-cpu-information { description "CPU information"; output { choice output_c { leaf output { type string; } anyxml visibility-cpu-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-cpu-information rpc get-visibility-storage-information { description "Storage information"; output { choice output_c { leaf output { type string; } anyxml visibility-storage-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-storage-information rpc get-visibility-memory-information { description "Memory information"; output { choice output_c { leaf output { type string; } anyxml visibility-memory-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-memory-information rpc get-visibility-host-information { description "Host information"; output { choice output_c { leaf output { type string; } anyxml visibility-host-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-host-information rpc get-visibility-network-information { description "Network information"; output { choice output_c { leaf output { type string; } anyxml visibility-network-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-network-information rpc get-visibility-jdm-information { description "JDM information"; output { choice output_c { leaf output { type string; } anyxml visibility-jdm-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-jdm-information rpc get-visibility-jcp-information { description "JCP information"; output { choice output_c { leaf output { type string; } anyxml visibility-jcp-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-jcp-information rpc get-visibility-numa-topology-information { description "NUMA topology information"; output { choice output_c { leaf output { type string; } anyxml visibility-numa-topology-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-visibility-numa-topology-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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 { 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 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 } // module junos-nfx-rpc-system
© 2023 YumaWorks, Inc. All rights reserved.