junos-rpc-igmp

Junos RPC YANG module for igmp command(s)

  • Version: 2019-01-01

    junos-rpc-igmp@2019-01-01


    
      module junos-rpc-igmp {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos/rpc/igmp";
    
        prefix igmp;
    
        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 igmp command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-igmp-group-information {
          description "Show IGMP 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 igmp-group-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-group-information
    
        rpc get-igmp-output-group-information {
          description
            "Show IGMP 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 igmp-output-group-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-output-group-information
    
        rpc get-igmp-interface-information {
          description "Show IGMP 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 igmp-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-interface-information
    
        rpc get-igmp-statistics-information {
          description "Show IGMP 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 igmp-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-statistics-information
    
        rpc get-igmp-continuous-statistics-information {
          description
            "Show IGMP statistics (Cumulative)";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-continuous-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-continuous-statistics-information
    
        rpc get-igmp-snooping-options-information {
          description
            "Show IGMP 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 igmp-snooping-options-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-options-information
    
        rpc get-igmp-snooping-membership-information {
          description
            "Show IGMP 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:ipv4prefix;
              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 igmp-snooping-group-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-membership-information
    
        rpc get-igmp-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:ipv4prefix;
              description
                "IP address range for group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-group-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-bridge-domain-membership
    
        rpc get-igmp-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:ipv4prefix;
              description
                "IP address range for group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-group-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-vlan-membership
    
        rpc get-igmp-snooping-evpn-membership-information {
          description
            "Show IGMP snooping evpn membership";
          input {
            leaf logical-system {
              type string;
              description
                "Name of logical system, or 'all'";
            }
    
            leaf group {
              type jt:ipv4prefix;
              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 igmp-snooping-evpn-membership-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-evpn-membership-information
    
        rpc get-igmp-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:ipv4prefix;
              description
                "IP address range for group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-evpn-membership-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-bridge-domain-evpn-groups
    
        rpc get-igmp-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:ipv4prefix;
              description
                "IP address range for group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-evpn-membership-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-vlan-evpn-groups
    
        rpc get-igmp-snooping-evpn-database-information {
          description
            "Show IGMP snooping evpn database";
          input {
            leaf logical-system {
              type string;
              description
                "Name of logical system, or 'all'";
            }
    
            leaf group {
              type jt:ipv4prefix;
              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 igmp-snooping-evpn-database-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-evpn-database-information
    
        rpc get-igmp-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:ipv4prefix;
              description
                "IP address range for group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-evpn-database-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-bridge-domain-evpn-database
    
        rpc get-igmp-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:ipv4prefix;
              description
                "IP address range for group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-evpn-database-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-vlan-evpn-database
    
        rpc get-igmp-snooping-evpn-proxy-information {
          description
            "Show IGMP snooping evpn proxy";
          input {
            leaf logical-system {
              type string;
              description
                "Name of logical system, or 'all'";
            }
    
            leaf group {
              type jt:ipv4prefix;
              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 igmp-snooping-evpn-proxy-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-evpn-proxy-information
    
        rpc get-igmp-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:ipv4prefix;
              description
                "IP address range for group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-evpn-proxy-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-bridge-domain-evpn-proxy
    
        rpc get-igmp-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:ipv4prefix;
              description
                "IP address range for group";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-evpn-proxy-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-vlan-evpn-proxy
    
        rpc get-igmp-snooping-evpn-status-information {
          description
            "Show IGMP 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 igmp-snooping-evpn-status-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-evpn-status-information
    
        rpc get-igmp-snooping-vlan-status-oism {
          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 igmp-snooping-evpn-status-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-vlan-status-oism
    
        rpc get-igmp-snooping-interface-information {
          description
            "Show IGMP 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 igmp-snooping-interface-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-interface-information
    
        rpc get-igmp-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 igmp-snooping-interface-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-bridge-domain-interface
    
        rpc get-igmp-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 igmp-snooping-interface-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-vlan-interface
    
        rpc get-igmp-snooping-statistics-information {
          description
            "Show IGMP 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 mgm-snooping-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-statistics-information
    
        rpc get-igmp-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 mgm-snooping-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-bridge-domain-statistics
    
        rpc get-igmp-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 mgm-snooping-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-vlan-statistics
    
        rpc get-igmp-snooping-data-forwarding-information {
          description
            "Show IGMP snooping MVR information";
          input {
            leaf logical-system {
              type string;
              description
                "Name of logical system, or 'all'";
            }
    
            leaf vlan {
              type string;
              description
                "Show IGMP snooping MVR information for a VLAN";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml igmp-snooping-data-forwarding-information-root {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-igmp-snooping-data-forwarding-information
      }  // module junos-rpc-igmp
    

© 2023 YumaWorks, Inc. All rights reserved.