Junos RPC YANG module for mld command(s)
Version: 2019-01-01
module junos-ex-rpc-mld { yang-version 1; namespace "http://yang.juniper.net/junos-ex/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-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 } // module junos-ex-rpc-mld
© 2023 YumaWorks, Inc. All rights reserved.