Junos RPC YANG module for mld command(s)
Version: 2019-01-01
module junos-rpc-mld { yang-version 1; namespace "http://yang.juniper.net/junos/rpc/mld"; prefix mld; 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 mld command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-mld-group-information { description "Show MLD group members"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf verbosity_level { type enumeration { enum "terse" { value 0; description "Display terse output"; } enum "brief" { value 1; description "Display brief output (default)"; } enum "detail" { value 2; description "Display detailed output"; } } default "brief"; } leaf group-name { type string; description "Name of group"; } } output { choice output_c { leaf output { type string; } anyxml mld-group-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-group-information rpc get-mld-output-group-information { description "Show MLD output group members"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select 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 group-name { type string; description "Name of group"; } } output { choice output_c { leaf output { type string; } anyxml mld-output-group-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-output-group-information rpc get-mld-interface-information { description "Show MLD interfaces"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select 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 interface-name { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml mld-interface-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-interface-information rpc get-mld-statistics-information { description "Show MLD statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf interface { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml mld-statistics-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-statistics-information rpc get-mld-continuous-statistics-information { description "Show MLD statistics (Cumulative)"; output { choice output_c { leaf output { type string; } anyxml mld-continuous-statistics-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-continuous-statistics-information rpc get-mld-snooping-options-information { description "Show MLD snooping options"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf instance { type string; description "Name of routing-instance"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-options-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-options-information rpc get-mld-snooping-membership-information { description "Show MLD snooping group membership"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-membership-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-membership-information rpc get-mld-snooping-bridge-domain-membership { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-membership-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-bridge-domain-membership rpc get-mld-snooping-vlan-membership { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-membership-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-vlan-membership rpc get-mld-snooping-evpn-membership-information { description "Show MLD snooping evpn membership"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } 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 mld-snooping-evpn-membership-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-evpn-membership-information rpc get-mld-snooping-bridge-domain-evpn-groups { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-evpn-membership-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-bridge-domain-evpn-groups rpc get-mld-snooping-vlan-evpn-groups { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-evpn-membership-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-vlan-evpn-groups rpc get-mld-snooping-evpn-database-information { description "Show MLD snooping evpn database"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } 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 mld-snooping-evpn-database-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-evpn-database-information rpc get-mld-snooping-bridge-domain-evpn-database { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-evpn-database-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-bridge-domain-evpn-database rpc get-mld-snooping-vlan-evpn-database { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-evpn-database-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-vlan-evpn-database rpc get-mld-snooping-evpn-proxy-information { description "Show MLD snooping evpn proxy"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-evpn-proxy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-evpn-proxy-information rpc get-mld-snooping-bridge-domain-evpn-proxy { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-evpn-proxy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-bridge-domain-evpn-proxy rpc get-mld-snooping-vlan-evpn-proxy { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } leaf group { type jt:ipv6prefix; description "IP address range for group"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-evpn-proxy-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-vlan-evpn-proxy rpc get-mld-snooping-evpn-status-information { description "Show MLD snooping evpn status"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } 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 mld-snooping-evpn-status-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-evpn-status-information rpc get-mld-snooping-vlan-evpn-status { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml mld-snooping-evpn-status-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-vlan-evpn-status rpc get-mld-snooping-interface-information { description "Show MLD snooping interfaces"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml mld-interface-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-interface-information rpc get-mld-snooping-bridge-domain-interface { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } } output { choice output_c { leaf output { type string; } anyxml mld-interface-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-bridge-domain-interface rpc get-mld-snooping-vlan-interface { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml mld-interface-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-vlan-interface rpc get-mld-snooping-statistics-information { description "Show MLD snooping statistics"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } leaf instance { type string; description "Name of routing-instance"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml mld-statistics-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-statistics-information rpc get-mld-snooping-bridge-domain-statistics { description "For a particular bridge-domain"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf domain-name { type string; mandatory true; description "Name of bridge-domain"; } leaf interface { type string; description "Name of interface"; } leaf vlan-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a learning domain"; } } output { choice output_c { leaf output { type string; } anyxml mld-statistics-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-bridge-domain-statistics rpc get-mld-snooping-vlan-statistics { description "For a particular VLAN"; input { leaf logical-system { type string; description "Name of logical system, or 'all'"; } leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "detail"; } leaf virtual-switch { type string; description "Name of virtual-switch instance"; } leaf vlan-name { type string; mandatory true; description "Name of VLAN"; } leaf interface { type string; description "Name of interface"; } leaf qualified-vlan { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4094"; } } description "VLAN ID for a Qualified VLAN"; } } output { choice output_c { leaf output { type string; } anyxml mld-statistics-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-mld-snooping-vlan-statistics grouping command-forwarding { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector } // grouping command-forwarding } // module junos-rpc-mld
© 2023 YumaWorks, Inc. All rights reserved.