Junos RPC YANG module for services command(s)
Version: 2019-01-01
module junos-qfx-rpc-services { yang-version 1; namespace "http://yang.juniper.net/junos-qfx/rpc/services"; prefix services; 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 services command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-probe-results { description "Show probe results"; input { leaf owner { type string { length "1 .. 32"; } description "Name of owner"; } leaf test { type string { length "1 .. 32"; } description "Name of test"; } leaf source-address { type jt:ipaddr; description "Filter results based on ipv4 or ipv6 source-address"; } leaf target-address { type jt:ipaddr; description "Filter results based on ipv4 or ipv6 target-address"; } leaf dst-interface { type union { type jt:interface-unit; type string { pattern "<.*>|$.*"; } } description "Filter results based on destination-interface"; } leaf status { type enumeration { enum "PASS" { value 0; description "Dump successful tests"; } enum "FAIL" { value 1; description "Dump failed tests"; } } description "Filter based on test status PASS or FAIL"; } leaf terse { type empty; description "Terse output"; } leaf limit { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 4294967295"; } } default "100"; description "Dump specified number of results (default is 100)"; } } output { choice output_c { leaf output { type string; } anyxml probe-results { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-probe-results rpc get-history-results { description "Show history results"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "brief"; } leaf owner { type string { length "1 .. 32"; } mandatory true; description "Name of owner"; } leaf test { type string { length "1 .. 32"; } description "Name of test"; } leaf since { type jt:time; description "Show history since YYYY-MM-DD.HH:MM:SS"; } leaf source-address { type jt:ipaddr; description "Filter history based on ipv4 or ipv6 source-address"; } leaf target-address { type jt:ipaddr; description "Filter history based on ipv4 or ipv6 target-address"; } leaf dst-interface { type union { type jt:interface-unit; type string { pattern "<.*>|$.*"; } } description "Filter based on destination-interface"; } leaf limit { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 4294967295"; } } default "100"; description "Dump specified number of results (default is 100)"; } } output { choice output_c { leaf output { type string; } anyxml history-results { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-history-results rpc get-active-servers { description "Show configured servers"; output { choice output_c { leaf output { type string; } anyxml active-servers { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-servers rpc twamp-information { description "Show TWAMP information"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-information rpc twamp-client-information { description "Show TWAMP client information"; output { choice output_c { leaf output { type string; } anyxml twamp-client-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-client-information rpc twamp-client-connection-information { description "Display connection information"; input { leaf connection-name { type string; default "all"; description "Control connection name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-client-connection-information rpc twamp-client-test-session { description "Display test session information"; input { leaf control-connection { type string { length "1 .. 32"; } description "Control connection name"; } leaf test-session { type string { length "1 .. 32"; } description "Test session name"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-client-test-session rpc twamp-get-probe-results { description "Display test session results"; input { leaf control-connection { type string; description "Control connection name"; } leaf test-session { type string; description "Test session name"; } } output { choice output_c { leaf output { type string; } anyxml probe-results { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-get-probe-results rpc twamp-get-history-results { description "Display test session history results"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "brief"; } leaf control-connection { type string; description "Control connection name"; } leaf test-session { type string; description "Test session name"; } leaf since { type jt:time; description "Show history since YYYY-MM-DD.HH:MM:SS"; } } output { choice output_c { leaf output { type string; } anyxml history-results { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-get-history-results rpc twamp-server-information { description "Show TWAMP server information"; output { choice output_c { leaf output { type string; } anyxml twamp-server-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-server-information rpc twamp-server-connection-information { description "Display connection information"; input { leaf connection-id { type string; default "all"; description "Connection ID"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-server-connection-information rpc twamp-server-session-information { description "Display session information"; input { leaf session-id { type string; default "all"; description "Session ID"; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc twamp-server-session-information rpc get-rfc2544-information { description "Show rfc2544 information"; output { choice output_c { leaf output { type string; } anyxml rfc2544-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rfc2544-information rpc get-test-id-information { description "Show rfc2544 test id"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } enum "extensive" { value 2; description "Display extensive output"; } } default "brief"; } leaf test-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Test id"; } } output { choice output_c { leaf output { type string; } anyxml rfc2544-test-id-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-test-id-information rpc get-active-tests-information { description "Show rfc2544 active tests"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } enum "extensive" { value 2; description "Display extensive output"; } } default "brief"; } leaf test-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Test id"; } } output { choice output_c { leaf output { type string; } anyxml rfc2544-active-tests-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-tests-information rpc get-aborted-tests-information { description "Show rfc2544 aborted tests"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } enum "extensive" { value 2; description "Display extensive output"; } } default "brief"; } leaf test-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Test id"; } } output { choice output_c { leaf output { type string; } anyxml rfc2544-aborted-tests-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-aborted-tests-information rpc get-completed-tests-information { description "Show rfc2544 completed tests"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } enum "extensive" { value 2; description "Display extensive output"; } } default "brief"; } leaf test-id { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Test id"; } } output { choice output_c { leaf output { type string; } anyxml rfc2544-completed-tests-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-completed-tests-information rpc get-rfc2544-summary-information { description "Show rfc2544 summary"; output { choice output_c { leaf output { type string; } anyxml rfc2544-summary-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rfc2544-summary-information rpc get-pcef-subscribers { description "Show subscriber information"; input { leaf address { type string; description "IPv4 or IPv6 address of subscriber"; } leaf interface { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } description "Interface name, or with wildcards (e.g. fe-0/0/*, fe-0/*/*)"; } leaf physical-interface { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } description "Physical Interface name"; } leaf user-name { type string; description "Username of subscriber"; } leaf logical-system { type string; description "Logical system where subscriber resides"; } leaf routing-instance { type string; description "Routing instance where subscriber resides"; } leaf profile-name { type string { length "1 .. 80"; } description "Profile with which subscriber has been activated"; } leaf agent-circuit-identifier { type string; description "Display summary for specified agent circuit identifier"; } leaf aci-interface-set-name { type string; description "Display summary for specified ACI interface set"; } leaf stacked-vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "0 .. 4094"; } } description "Stacked VLAN identifier of subscriber"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "0 .. 4094"; } } description "VLAN identifier of subscriber"; } leaf vpi { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "0 .. 255"; } } description "ATM VPI of subscriber"; } leaf vci { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "0 .. 65535"; } } description "ATM VCI of subscriber"; } leaf id { type string; description "Identifier of subscriber"; } leaf mac-address { type jt:mac-addr; description "MAC address of subscriber"; } leaf client-type { type enumeration { enum "dhcp" { value 0; description "DHCP clients only"; } enum "vlan" { value 1; description "VLAN clients only"; } enum "ppp" { value 2; description "PPP clients only"; } enum "pppoe" { value 3; description "PPPoE clients only"; } enum "l2tp" { value 4; description "L2TP clients only"; } enum "static" { value 5; description "Static clients only"; } enum "vpls-pw" { value 6; description "VPLS-PW clients only"; } enum "mlppp" { value 7; description "MLPPP clients only"; } enum "xauth" { value 8; description "XAuth clients only"; } enum "fwauth" { value 9; description "FwAuth clients only"; } enum "dot1x" { value 10; description "Dot1x clients only"; } enum "essm" { value 11; description "ESSM clients only"; } enum "fwa" { value 12; description "FWA clients only"; } enum "agf" { value 13; description "AGF clients only"; } } description "Client type of subscriber"; } leaf subscriber-state { type enumeration { enum "init" { value 0; description "INIT state only"; } enum "configured" { value 1; description "CONFIGURED state only"; } enum "active" { value 2; description "ACTIVE state only"; } enum "terminating" { value 3; description "TERMINATING state only"; } } description "State of subscriber"; } leaf display { type enumeration { enum "terse" { value 0; description "Display terse output"; } enum "detail" { value 1; description "Display detailed output"; } enum "extensive" { value 2; description "Display extensive output"; } enum "count" { value 3; description "Display number of subscribers"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml pcef-subscriber { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-pcef-subscribers rpc get-pcef-subscribers-summary { description "Display pcef subscriber summary"; input { leaf logical-system { type string; description "Display summary for specified logical system"; } leaf routing-instance { type string; description "Display summary for specified routing instance"; } leaf physical-interface { type union { type jt:interface-wildcard; type string { pattern "<.*>|$.*"; } } description "Physical Interface name"; } leaf port { type empty; description "Display full subscriber port summary"; } leaf pic { type empty; description "Display full subscriber pic summary"; } leaf slot { type empty; description "Display full subscriber slot summary"; } leaf all { type empty; description "Display full subscriber summary"; } } output { choice output_c { leaf output { type string; } anyxml pcef-subscriber { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-pcef-subscribers-summary rpc get-pcef-pic { description "Show physical interface card information"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } leaf pic-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PIC slot number"; } leaf display { type enumeration { enum "terse" { value 0; description "Display terse output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml pcef-pic { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-pcef-pic rpc get-appid-application-signature-detail { description "Show application signature details"; 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 application-name { type string; } leaf start { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 65535"; } } description "Show application details from a given position"; } leaf count { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 65535"; } } description "Number of applications to show"; } } output { choice output_c { leaf output { type string; } anyxml appid-application-signature-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-application-signature-detail rpc get-appid-application-signature-summary { description "Show application signature summary"; output { choice output_c { leaf output { type string; } anyxml appid-application-signature-summary { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-application-signature-summary rpc get-appid-micro-applications-list { description "Show micro-applications list"; output { choice output_c { leaf output { type string; } anyxml appid-micro-applications-list { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-micro-applications-list rpc get-appid-non-configurable-application-list { description "Show non-configurable application list"; output { choice output_c { leaf output { type string; } anyxml appid-non-configurable-application-list { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-non-configurable-application-list rpc get-appid-obsolete-application-list { description "Show obsolete application list"; output { choice output_c { leaf output { type string; } anyxml appid-obsolete-application-list { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-obsolete-application-list rpc get-appid-entry-signature-detail { description "Show application/group signature details"; input { leaf entry-name { type string; } leaf limit { type union { type int32; type string { pattern "<.*>|$.*"; } } description "Limit the number of entries displayed"; } leaf offset { type union { type int32; type string { pattern "<.*>|$.*"; } } description "Skip number of rows in output"; } } output { choice output_c { leaf output { type string; } anyxml appid-entry-signature-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-entry-signature-detail rpc get-appid-entry-signature-filter { description "Apply filter on entry details"; input { leaf category { type string; description "Filter by entry category"; } leaf definition { type enumeration { enum "predefined" { value 0; description "Predefined app"; } enum "custom" { value 1; description "Customer defined app"; } } description "Filter by predefined/custom entry"; } leaf entry-name { type string; description "Filter by entry name"; } leaf risk { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 5"; } } description "Filter by entry risk"; } leaf subcategory { type string; description "Filter by entry subcategory"; } leaf status { type enumeration { enum "enabled" { value 0; description "Application is enabled"; } enum "disabled" { value 1; description "Application is disabled"; } } description "Filter by entry enabled/disabled"; } leaf type { type enumeration { enum "application" { value 0; description "Application"; } enum "group" { value 1; description "Group"; } } description "Filter by application/group entry"; } leaf limit { type union { type int32; type string { pattern "<.*>|$.*"; } } description "Limit the number of entries displayed"; } leaf offset { type union { type int32; type string { pattern "<.*>|$.*"; } } description "Skip number of rows in output"; } } output { choice output_c { leaf output { type string; } anyxml appid-entry-signature-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-entry-signature-filter rpc get-appid-entry-category-detail { description "List of categories of application available"; output { choice output_c { leaf output { type string; } anyxml appid-entry-category-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-entry-category-detail rpc get-appid-entry-subcategory-detail { description "List of subcategories of application available"; output { choice output_c { leaf output { type string; } anyxml appid-entry-subcategory-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-entry-subcategory-detail rpc get-appid-application-group-detail { description "Show application group details"; 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 group-name { type string; } } output { choice output_c { leaf output { type string; } anyxml appid-application-group-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-application-group-detail rpc get-appid-application-group-summary { description "Show application group summary"; output { choice output_c { leaf output { type string; } anyxml appid-application-group-summary { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-application-group-summary rpc get-appid-application-system-cache { description "Show application system 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 choice lsys { case logical-system { } // case logical-system case tenant { } // case tenant } // choice lsys } output { choice output_c { leaf output { type string; } anyxml appid-application-system-cache-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-application-system-cache rpc get-appid-counter { description "Show the application identification counters"; 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 case tenant { } // case tenant } // choice lsys } output { choice output_c { leaf output { type string; } anyxml appid-counter-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-counter rpc get-commit-status { description "Show config commit status"; output { choice output_c { leaf output { type string; } anyxml appid-commit-status { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-commit-status rpc get-appid-application-statistics { description "Show the application statistics"; 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 case tenant { } // case tenant } // choice lsys leaf interval { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1"; } } default "1"; description "Displays current interval application statistics irrespective of interval"; } } output { choice output_c { leaf output { type string; } anyxml appid-application-statistics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-application-statistics rpc get-appid-application-statistics-detail { description "Show the application statistics detail"; 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 case tenant { } // case tenant } // choice lsys leaf interval { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1"; } } default "1"; description "Displays current interval application statistics irrespective of interval"; } } output { choice output_c { leaf output { type string; } anyxml appid-application-statistics-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-application-statistics-detail rpc get-appid-application-group-statistics { description "Show the application group statistics"; 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 case tenant { } // case tenant } // choice lsys leaf interval { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1"; } } default "1"; description "Displays current interval application group statistics irrespective of interval"; } } output { choice output_c { leaf output { type string; } anyxml appid-application-group-statistics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-application-group-statistics rpc get-application-id-status-information { description "Show the application identification status"; output { choice output_c { leaf output { type string; } anyxml appid-status-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-application-id-status-information rpc get-appid-package-version { description "Show the current application package version"; output { choice output_c { leaf output { type string; } anyxml appid-package-version { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-package-version rpc get-appid-pkt-capture-counter { description "Show the application identification packet capture counters"; output { choice output_c { leaf output { type string; } anyxml appid-pkt-capture-counter-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-appid-pkt-capture-counter rpc get-recent-appid-sigpack-information { description "Show the recent application package versions"; output { choice output_c { leaf output { type string; } anyxml recent-appid-sigpack-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-recent-appid-sigpack-information rpc get-services-security-associations-information { description "Show IPSec security association information"; input { leaf level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } enum "extensive" { value 2; description "Display extensive output"; } } default "brief"; } leaf service-set { type string; description "Restrict output to one service set"; } leaf hex { type empty; description "Display SPI in hexadecimal format"; } } output { choice output_c { leaf output { type string; } anyxml services-security-associations-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-services-security-associations-information rpc get-services-ipsec-statistics-information { description "Show IPSec statistics"; input { leaf remote-gw { type string; description "Peer address to use as filter"; } leaf display { type enumeration { enum "detail" { value 0; description "Display all tunnels"; } enum "brief" { value 1; description "Display accumulated statistics (default)"; } } default "brief"; } leaf service-set { type string; description "Name of service set"; } } output { choice output_c { leaf output { type string; } anyxml ipsec-total-statistics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-services-ipsec-statistics-information rpc get-ike-services-security-associations-information { description "Show services IKE security association information"; input { leaf level { type enumeration { enum "brief" { value 0; description "Show brief output (default)"; } enum "detail" { value 1; description "Show detailed output"; } } default "brief"; } leaf peer-address { type jt:ipaddr; description "Name of security association"; } leaf routing-instance { type string; description "Name of the local-gateway routing-instance"; } } output { choice output_c { leaf output { type string; } anyxml ike-security-associations-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ike-services-security-associations-information rpc get-ike-services-statistics { description "Show services IKE security association statistics"; input { leaf peer-address { type jt:ipaddr; description "Name of security association"; } leaf routing-instance { type string; description "Name of the local-gateway routing-instance"; } } output { choice output_c { leaf output { type string; } anyxml ike-security-associations-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ike-services-statistics rpc get-fips-pic-status-information { description "Show FIPS PIC authorization status"; output { choice output_c { leaf output { type string; } anyxml fips-pic-status-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fips-pic-status-information } // module junos-qfx-rpc-services
© 2023 YumaWorks, Inc. All rights reserved.