junos-es-rpc-igmp

Junos RPC YANG module for igmp command(s)

  • Version: 2019-01-01

    junos-es-rpc-igmp@2019-01-01


    
      module junos-es-rpc-igmp {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-es/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-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
    
        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-es-rpc-igmp
    

© 2023 YumaWorks, Inc. All rights reserved.