junos-rpc-mac-vrf

Junos RPC YANG module for mac-vrf command(s)

  • Version: 2019-01-01

    junos-rpc-mac-vrf@2019-01-01


    
      module junos-rpc-mac-vrf {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos/rpc/mac-vrf";
    
        prefix mac-vrf;
    
        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 mac-vrf command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-mac-vrf-instance-information {
          description
            "Show EVPN instance information";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance-name {
              type string;
              default "all";
              description
                "Name of EVPN instance";
            }
    
            leaf neighbor {
              type jt:ipaddr;
              description
                "Address of EVPN neighbor";
            }
    
            leaf esi {
              type string;
              description
                "Ethernet segment identifier";
            }
    
            leaf verbosity {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief version of output";
                }
                enum "extensive" {
                  value 1;
                  description
                    "Display extensive version of output";
                }
                enum "designated-forwarder" {
                  value 2;
                  description
                    "Display only designated forwarder information";
                }
                enum "backup-forwarder" {
                  value 3;
                  description
                    "Display only backup forwarder information";
                }
                enum "esi-info" {
                  value 4;
                  description
                    "Display only ESI information";
                }
                enum "neighbor-info" {
                  value 5;
                  description
                    "Display only neighbor information";
                }
              }
            }
    
            leaf get-mac-vrf-instance-dci-information {
              type empty;
              description
                "Display dci information";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-instance-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-instance-information
    
        rpc get-mac-vrf-database-information {
          description
            "Show EVPN internal MAC database";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf mac-address {
              type jt:mac-addr;
              description
                "Display a specifc MAC address";
            }
    
            leaf instance {
              type string;
              description
                "Display MAC address from a specific EVPN instance";
            }
    
            leaf l2-domain-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "1 .. 16777214";
                }
              }
              description
                "Display MAC address with a specific VLAN or VNI or ISID";
            }
    
            leaf esi {
              type string;
              description
                "Ethernet segment identifier";
            }
    
            choice origin-choice {
              leaf neighbor {
                type jt:ipaddr;
                description
                  "Display MAC address learned from a specific neighbor";
              }
              leaf interface {
                type string;
                description
                  "Display MAC address learned from a specific interface";
              }
              leaf origin {
                type enumeration {
                  enum "local" {
                    value 0;
                    description
                      "Display local MAC address";
                  }
                  enum "remote" {
                    value 1;
                    description
                      "Display remote MAC address";
                  }
                  enum "dci-remote" {
                    value 2;
                    description
                      "Display MAC addresses received from DCI";
                  }
                }
                description
                  "Display MAC address with a specific origin";
              }
            }  // choice origin-choice
    
            leaf state {
              type enumeration {
                enum "default-gateway" {
                  value 0;
                  description
                    "Display default gateway MAC address";
                }
                enum "static" {
                  value 1;
                  description
                    "Display static MAC address";
                }
                enum "pinned" {
                  value 2;
                  description
                    "Display pinned MAC address";
                }
                enum "duplicate" {
                  value 3;
                  description
                    "Display duplicate MAC address";
                }
                enum "dci-adv" {
                  value 4;
                  description
                    "Display MAC advertised to DCI";
                }
                enum "dc-adv" {
                  value 5;
                  description
                    "Display MAC advertised to DC";
                }
              }
              description
                "Display MAC address with a specific state";
            }
    
            leaf verbosity {
              type enumeration {
                enum "extensive" {
                  value 0;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-database-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-database-information
    
        rpc get-mac-vrf-p2mp-information {
          description
            "Show EVPN p2mp information";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description
                "Display p2mp information for a specific EVPN instance";
            }
    
            leaf verbosity {
              type enumeration {
                enum "extensive" {
                  value 0;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-p2mp-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-p2mp-information
    
        rpc get-mac-vrf-multicast-status {
          description "Show general status";
          input {
            leaf instance {
              type string;
              description
                "Display for a specific EVPN instance";
            }
    
            leaf l2-domain-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "1 .. 16777214";
                }
              }
              description
                "Display for a specific VLAN or VNI or ISID";
            }
    
            leaf verbosity {
              type enumeration {
                enum "extensive" {
                  value 0;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-multicast-snooping-status;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-multicast-status
    
        rpc get-mac-vrf-multicast-ar-nexthops-data {
          description
            "Show next-hops information";
          input {
            leaf instance {
              type string;
              description
                "Display for a specific EVPN instance";
            }
    
            leaf l2-domain-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "1 .. 16777214";
                }
              }
              description
                "Display for a specific VLAN or VNI or ISID";
            }
    
            leaf index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description
                "Display for a specific nexthop id";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-multicast-snooping-ar-nexthops-data;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-multicast-ar-nexthops-data
    
        rpc get-mac-vrf-multicast-ar-mh-peers-data {
          description "Show multi-homed peers";
          input {
            leaf instance {
              type string;
              description
                "Display for a specific EVPN instance";
            }
    
            leaf verbosity {
              type enumeration {
                enum "extensive" {
                  value 0;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-multicast-snooping-ar-mh-peers-data;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-multicast-ar-mh-peers-data
    
        rpc get-mac-vrf-multicast-ar-replicators-data {
          description "Show replicators";
          input {
            leaf instance {
              type string;
              description
                "Display for a specific EVPN instance";
            }
    
            leaf l2-domain-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "1 .. 16777214";
                }
              }
              description
                "Display for a specific VLAN or VNI or ISID";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-multicast-snooping-ar-replicators-data;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-multicast-ar-replicators-data
    
        rpc get-mac-vrf-multicast-next-hops-information {
          description
            "Show EVPN multicast-snooping nexthops table";
          input {
            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 identifier {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description "ID of next hop";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml multicast-next-hops-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-multicast-next-hops-information
    
        rpc get-mac-vrf-igmp-proxy-information {
          description
            "Show EVPN igmp snooping proxy";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description
                "Display for a specific EVPN instance";
            }
    
            leaf l2-domain-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "1 .. 16777214";
                }
              }
              description
                "Display for a specific VLAN or VNI or ISID";
            }
    
            leaf group {
              type jt:ipaddr;
              description "Group address";
            }
    
            leaf verbosity {
              type enumeration {
                enum "extensive" {
                  value 0;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-igmp-snooping-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-igmp-proxy-information
    
        rpc get-mac-vrf-igmp-database-information {
          description
            "Show EVPN igmp snooping database";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description
                "Display for a specific EVPN instance";
            }
    
            leaf l2-domain-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "1 .. 16777214";
                }
              }
              description
                "Display for a specific VLAN or VNI or ISID";
            }
    
            leaf esi {
              type string;
              description
                "Ethernet segment identifier";
            }
    
            leaf group {
              type jt:ipaddr;
              description "Group address";
            }
    
            leaf interface {
              type string;
              description
                "Display for a specific interface";
            }
    
            leaf verbosity {
              type enumeration {
                enum "extensive" {
                  value 0;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-igmp-snooping-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-igmp-database-information
    
        rpc get-mac-vrf-mld-proxy-information {
          description
            "Show EVPN mld snooping proxy";
          input {
            leaf instance {
              type string;
              description
                "Display for a specific EVPN instance";
            }
    
            leaf l2-domain-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "1 .. 16777214";
                }
              }
              description
                "Display for a specific VLAN or VNI or ISID";
            }
    
            leaf group {
              type jt:ipaddr;
              description "Group address";
            }
    
            leaf verbosity {
              type enumeration {
                enum "extensive" {
                  value 0;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-mld-snooping-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mld-proxy-information
    
        rpc get-mac-vrf-mld-database-information {
          description
            "Show EVPN mld snooping database";
          input {
            leaf instance {
              type string;
              description
                "Display for a specific EVPN instance";
            }
    
            leaf l2-domain-id {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type int32 {
                  range "1 .. 16777214";
                }
              }
              description
                "Display for a specific VLAN or VNI or ISID";
            }
    
            leaf esi {
              type string;
              description
                "Ethernet segment identifier";
            }
    
            leaf group {
              type jt:ipaddr;
              description "Group address";
            }
    
            leaf interface {
              type string;
              description
                "Display for a specific interface";
            }
    
            leaf verbosity {
              type enumeration {
                enum "extensive" {
                  value 0;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-mld-snooping-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mld-database-information
    
        rpc get-mac-vrf-oism-information {
          description
            "Show EVPN OISM information";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf l3-context {
              type string;
              description
                "Name of specific EVPN L3 context";
            }
    
            leaf verbosity {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief version of output";
                }
                enum "extensive" {
                  value 1;
                  description
                    "Display extensive version of output";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml evpn-oism-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-oism-information
    
        rpc get-routing-instance-information {
          description "Show routing instances";
          input {
            leaf instance-name {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Particular vlan-name or 'all'";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-routing-table-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-routing-instance-information
    
        rpc get-interface-details {
          description "Show interface";
          input {
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf interface-name {
              type union {
                type jt:interface-name;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description
                "Name of interface for which to display ethernet-switching information";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-iff-interface-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-interface-details
    
        rpc get-vlan-statistics-information {
          description
            "Show bridge statistics information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Display information for a specified VLAN";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml bridge-statistics-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-vlan-statistics-information
    
        rpc get-mac-vrf-mac-table {
          description
            "Show media access control table";
          input {
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified vpls";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Display information for a specified VLAN";
            }
    
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf vlan-id {
              type string;
              description
                "Display MAC address learned on a specified VLAN";
            }
    
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
    
            leaf show-choice {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "count" {
                  value 3;
                  description
                    "Display count only";
                }
                enum "age" {
                  value 4;
                  description
                    "Display age of a single mac-address";
                }
                enum "summary" {
                  value 5;
                  description
                    "Display summary output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-rtb-macdb;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mac-table
    
        rpc get-mac-vrf-interface-mac-table {
          description
            "Display MAC table for a specified interface";
          input {
            choice interface-choice {
              leaf interface-name {
                type string;
                description
                  "Name of interface for which to display table";
              }
              leaf all {
                type empty;
                description
                  "Display MAC table for all the interfaces";
              }
            }  // choice interface-choice
    
            leaf remote-beb-mac-address {
              type jt:mac-addr;
              default "all";
              description
                "Remote backbone edge bridge MAC address";
            }
    
            leaf vlan-id {
              type string;
              description
                "Display MAC address learned on a specified VLAN";
            }
    
            leaf isid {
              type string;
              description
                "Display Information for specified ISID or all ISID(s)";
            }
    
            leaf show-choice {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "count" {
                  value 3;
                  description
                    "Display count only";
                }
                enum "age" {
                  value 4;
                  description
                    "Display age of a single mac-address";
                }
                enum "summary" {
                  value 5;
                  description
                    "Display summary output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-interface-macdb;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-interface-mac-table
    
        rpc get-mac-vrf-mac-ip-table {
          description
            "Show IP table for EVPN instances";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Display information for a specified VLAN";
            }
    
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
    
            leaf show-choice {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "count" {
                  value 3;
                  description
                    "Display count only";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-rtb-mac-ip-db;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mac-ip-table
    
        rpc get-mac-vrf-kernel-ip-table-information {
          description
            "Entries present in kernel";
          input {
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-rtb-mac-ip-kernel-db;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-kernel-ip-table-information
    
        rpc get-mac-vrf-kernel-ipv4-table-information {
          description
            "IPv4 entries present in kernel";
          input {
            leaf bd-id {
              type string;
              description
                "Display IP address under particular bd-id";
            }
    
            leaf ipv4-addr {
              type jt:ipv4addr;
              default "all";
              description
                "Display kernel information for ip";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-rtb-mac-ip-kernel-db;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-kernel-ipv4-table-information
    
        rpc get-mac-vrf-kernel-ipv6-table-information {
          description
            "IPv6 entries present in kernel";
          input {
            leaf bd-id {
              type string;
              description
                "Display IP address under particular bd-id";
            }
    
            leaf ipv6-addr {
              type jt:ipv6addr;
              default "all";
              description
                "Display kernel information for ip";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-rtb-mac-ip-kernel-db;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-kernel-ipv6-table-information
    
        rpc get-mac-vrf-mac-ip4-table {
          description
            "Show INET entries associated with MACs learned via ARP";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Name of VLAN, or 'all'";
            }
    
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
    
            leaf show-choice {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "count" {
                  value 3;
                  description
                    "Display count only";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2rtb-evpn-arp-db;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mac-ip4-table
    
        rpc get-mac-vrf-mac-ipv6-table {
          description
            "Show INET6 entries associated with MACs learned via NDP";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Name of VLAN, or 'all'";
            }
    
            leaf address {
              type jt:mac-addr;
              default "all";
              description "MAC address";
            }
    
            leaf show-choice {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "count" {
                  value 3;
                  description
                    "Display count only";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2rtb-evpn-nd-db;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mac-ipv6-table
    
        rpc get-mac-vrf-vxlan-svtep-information {
          description
            "Display source VXLAN tunnel endpoint configuration";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-source-vtep-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-svtep-information
    
        rpc get-mac-vrf-vxlan-svtep-ip-information {
          description
            "Display VXLAN configuration for source ip address";
          input {
            leaf virtual-tunnel-end-point-source-ip {
              type jt:ipaddr;
              mandatory true;
              description
                "Display information for a source ip";
            }
    
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-source-vtep-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-svtep-ip-information
    
        rpc get-mac-vrf-vxlan-rvtep-information {
          description
            "Display remote VXLAN tunnel endpoint information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "summary" {
                  value 1;
                  description
                    "Display summary output";
                }
              }
              default "detail";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-source-vtep-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-rvtep-information
    
        rpc get-mac-vrf-vxlan-rvtep-mactable-information {
          description
            "Display remote VTEP MAC table";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-remote-vtep-mactable;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-rvtep-mactable-information
    
        rpc get-mac-vrf-vxlan-rvtep-ip-information {
          description
            "Display remote VTEP MAC table for ip address";
          input {
            leaf virtual-tunnel-end-point-remote-ip {
              type jt:ipaddr;
              mandatory true;
              description
                "Display information for a remote end point";
            }
    
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-remote-vtep-ip;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-rvtep-ip-information
    
        rpc get-mac-vrf-vxlan-rmt-svtep-ip-information {
          description
            "Display remote VXLAN endpoints associated with source endpoint";
          input {
            leaf virtual-tunnel-end-point-source-ip {
              type jt:ipaddr;
              mandatory true;
              description
                "Display information for a source ip";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-source-vtep-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-rmt-svtep-ip-information
    
        rpc get-mac-vrf-vxlan-esi-information {
          description
            "Display VXLAN tunnel endpoint ESI information";
          input {
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf esi-identifier {
              type string;
              description
                "Ethernet segment identifier";
            }
    
            leaf svlbnh {
              type enumeration {
                enum "svlbnh" {
                  value 0;
                  description
                    "Display Shared VLBNH information for a given ESI";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-esi-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-esi-information
    
        rpc get-mac-vrf-vxlan-arvlbnh-information {
          description
            "Display VXLAN tunnel endpoint AR-VLBNH information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-arvlbnh-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-arvlbnh-information
    
        rpc get-mac-vrf-arvlbnh-information {
          description
            "Display VxLAN AR-VLBNH information for VLBNH index";
          input {
            leaf vxlan-ar-vlbnh-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Display information for a specified index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-arvlbnh-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-arvlbnh-information
    
        rpc get-mac-vrf-vxlan-info-rtt-index {
          description
            "Display VxLAN AR-VLBNH information for RTT index";
          input {
            leaf vxlan-ar-vlbnh-rtt-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Display information for a specified RTT index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-arvlbnh-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-info-rtt-index
    
        rpc get-mac-vrf-vxlan-info-bd-index {
          description
            "Display VxLAN AR-VLBNH information for BD index";
          input {
            leaf vxlan-ar-vlbnh-bd-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Display information for a specified BD index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-arvlbnh-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-info-bd-index
    
        rpc get-mac-vrf-vxlan-mh-vtep-information {
          description
            "Display Multi Homing Peer VTEP information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-mh-vtep-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-mh-vtep-information
    
        rpc get-mac-vrf-vxlan-rtt-mh-vtep-information {
          description
            "Display MH Peer table for routing instance";
          input {
            leaf instance-name {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-rtt-mh-vtep-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-rtt-mh-vtep-information
    
        rpc get-mac-vrf-vxlan-ip-mh-vtep-information {
          description
            "Display MH Peer table for ip address";
          input {
            leaf virtual-tunnel-end-point-remote-ip {
              type jt:ipaddr;
              mandatory true;
              description
                "Display information for a remote end point";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-ip-mh-vtep-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-ip-mh-vtep-information
    
        rpc get-mac-vrf-vxlan-svlbnh-information {
          description
            "Display Shared VLBNH information";
          input {
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 1;
                  description
                    "Display extensive output";
                }
                enum "brief" {
                  value 2;
                  description
                    "Display brief output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-svlbnh-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-svlbnh-information
    
        rpc get-mac-vrf-vxlan-svlbnh-overflow {
          description
            "Display pending requests for SVLBNH allocation";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml svlbnh-overflow-list;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-svlbnh-overflow
    
        rpc get-mac-vrf-vxlan-svlbnh-info-index {
          description
            "Display information for a particular SVLBNH index";
          input {
            leaf svlbnh-id {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Display information for a specified index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml vxlan-svlbnh-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vxlan-svlbnh-info-index
    
        rpc get-mac-vrf-flood-information {
          description
            "Show bridging flooding information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Display information for a specified VLAN";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "detail";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-instance;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-flood-information
    
        rpc get-mac-vrf-mbb-information {
          description
            "Show bridge flooding information";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "detail";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-instance;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mbb-information
    
        rpc get-mac-vrf-bd-flood-route-information {
          description
            "Show route for flooding traffic of a bridge domain if no-local-switching is not enabled";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-bd-flood-route-information
    
        rpc get-mac-vrf-all-ce-flood-route-information {
          description
            "Show route for flooding traffic to all CE routers if no-local-switching is enabled";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-all-ce-flood-route-information
    
        rpc get-mac-vrf-ve-flood-route-information {
          description
            "Show route for flooding traffic to all VE routers if no-local-switching is enabled";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-ve-flood-route-information
    
        rpc get-mac-vrf-re-flood-route-information {
          description
            "Show route for Routing Engine flooding to all interfaces";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-re-flood-route-information
    
        rpc get-mac-vrf-mlp-flood-route-information {
          description
            "Show route for flooding traffic to MAC learning chips";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bridge-domain {
              type string;
              default "all";
              description
                "Display information for a specified bridge domain";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mlp-flood-route-information
    
        rpc get-mac-vrf-alt-root-flood-route-information {
          description
            "Show STP alt-root flooding route used for interface";
          input {
            leaf interface {
              type union {
                type jt:interface-unit;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              mandatory true;
              description
                "Interface for which to show alternate-root flooding route";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-route-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-alt-root-flood-route-information
    
        rpc get-mac-vrf-event-queue-information {
          description
            "Show queue of pending bridge flood events";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-vpls-flood-event-queue;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-event-queue-information
    
        rpc get-mac-vrf-fld-group {
          description
            "Display  Flood Group info";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-flood-group;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-fld-group
    
        rpc get-mac-vrf-fld-group-ri-information {
          description
            "Display Flood Group info for routing instance";
          input {
            leaf instance-name {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf bd-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description "Bd id";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-flood-group-ri;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-fld-group-ri-information
    
        rpc get-mac-vrf-eamnh-information {
          description
            "Display EAMNH and member info";
          input {
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              default "all";
              description
                "Display information for a specified VLAN";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-enh-eamnh-info;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-eamnh-information
    
        rpc get-mac-vrf-global-mac-count {
          description
            "Show layer-2 global mac address count";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-global-macdb-count;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-global-mac-count
    
        rpc get-mac-vrf-global-mac-ip-count {
          description
            "Show global MAC+IP bindings count";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-global-mac-ip-count;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-global-mac-ip-count
    
        rpc get-mac-vrf-global-information {
          description
            "Show process-related information";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-global-configuration;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-global-information
    
        rpc get-mac-vrf-mgrp-policy {
          description
            "Display global mesh group policy";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-mgrp-policy;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mgrp-policy
    
        rpc get-mac-vrf-mgrp-policy-ri {
          description
            "Display Mesh Group policy for routing instance";
          input {
            leaf instance-name {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf mgrp-id {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description "Mesh group id";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-mgrp-policy-ri;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-mgrp-policy-ri
    
        rpc get-mac-vrf-vlan-information {
          description "Show VLANs information";
          input {
            leaf instance {
              type string;
              default "all";
              description
                "Display information for a specified instance";
            }
    
            leaf vlan-name {
              type string;
              description
                "Display information for a specified VLAN";
            }
    
            leaf logical-system {
              type string;
              default "all";
              description
                "Name of logical system, or 'all'";
            }
    
            leaf interface {
              type union {
                type jt:interface-unit;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description
                "Name of interface for which to display table";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-vlan-instance-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vlan-information
    
        rpc get-mac-vrf-vlan-operational-information {
          description
            "Show operational bridging instance";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ng-l2ald-vlan-instance-information;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-mac-vrf-vlan-operational-information
    
        rpc get-fwd-instance-information {
          description
            "Show global mac-vrf and forwarding instance mapping";
          input {
            leaf forwarding-instance-id {
              type string;
              description
                "Show mac vrf instances mapped to a forwarding instance id";
            }
    
            leaf verbosity {
              type enumeration {
                enum "detail" {
                  value 0;
                  description
                    "Display detailed output";
                }
                enum "brief" {
                  value 1;
                  description
                    "Display brief output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml l2ald-get-mac-vrf-fwd-inst-mapping;
              anyxml multi-routing-engine-results;
            }  // choice output_c
          }
        }  // rpc get-fwd-instance-information
    
        grouping command-forwarding {
          choice chassis-selector {
            leaf all-chassis {
              type empty;
              description "All chassis";
            }
            leaf all-lcc {
              type empty;
              description "All LCC chassis";
            }
            leaf scc {
              type empty;
              description "SCC";
            }
            leaf sfc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "SFC";
            }
            leaf lcc {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description "Specific LCC";
            }
            leaf node {
              type string;
              description "Specific node";
            }
            leaf bsys {
              type empty;
              description "Base system";
            }
            leaf gnf {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "1 .. 10";
                }
              }
              description
                "Specific guest network function";
            }
            leaf all-gnfs {
              type empty;
              description
                "All guest network functions";
            }
            leaf all-system {
              type empty;
              description
                "All system (BSYS and GNFs)";
            }
            leaf server {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32 {
                  range "0 .. 1";
                }
              }
              description "Specific server slot";
            }
            leaf all-servers {
              type empty;
              description "All servers";
            }
            leaf vnf {
              type string;
              description
                "Specific virtual-network-function";
            }
            leaf all-vnfs {
              type empty;
              description
                "All virtual-network-functions";
            }
          }  // choice chassis-selector
    
          choice re-selector {
            leaf re0 {
              type empty;
              description "RE0";
            }
            leaf re1 {
              type empty;
              description "RE1";
            }
            leaf routing-engine {
              type enumeration {
                enum "local" {
                  value 0;
                  description
                    "Local routing engine";
                }
                enum "other" {
                  value 1;
                  description
                    "Other routing engine";
                }
                enum "master" {
                  value 2;
                  description
                    "Master routing engine";
                }
                enum "backup" {
                  value 3;
                  description
                    "Backup routing engine";
                }
                enum "both" {
                  value 4;
                  description
                    "Both routing engines";
                }
              }
              description
                "Specific routing engine";
            }
          }  // choice re-selector
    
          choice lr-selector {
            leaf logical-system {
              type string;
              description
                "Name of logical system, or 'all'";
            }
          }  // choice lr-selector
    
          choice tenant-selector {
            leaf tenant {
              type string;
              description
                "Name of tenant, or 'all'";
            }
          }  // choice tenant-selector
    
          choice vc-selector {
            leaf local {
              type empty;
              description
                "Local virtual chassis member";
            }
            leaf all-members {
              type empty;
              description
                "All virtual chassis members";
            }
            leaf member {
              type union {
                type string {
                  pattern "<.*>|$.*";
                }
                type uint32;
              }
              description
                "Specific virtual chassis member";
            }
          }  // choice vc-selector
        }  // grouping command-forwarding
      }  // module junos-rpc-mac-vrf
    

© 2023 YumaWorks, Inc. All rights reserved.